Skip to content

Improve TypeVar stub #4150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 31, 2020
Merged

Improve TypeVar stub #4150

merged 2 commits into from
May 31, 2020

Conversation

CraftSpider
Copy link
Contributor

Closes #2882
Most type checkers don't really care, but I agree that it's better to be more accurate, and it doesn't seem to cause any errors.

@JelleZijlstra JelleZijlstra merged commit d863210 into python:master May 31, 2020
SergeyZh pushed a commit to JetBrains/intellij-community that referenced this pull request Jun 2, 2020
…34, PY-41791)

Possibly PY-32905 and PY-32788 are fixed.
No more need to provide callable type for `typing.TypeVar` because of python/typeshed#4150

GitOrigin-RevId: f45928ad3b6ab18866b543bd2f375faa92d79b41
vishalkuo pushed a commit to vishalkuo/typeshed that referenced this pull request Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeVar stub is incorrect
2 participants