-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Improve the self types situation #5676
Comments
We can also add a Self = TypeVar("Self") This can help us finding places where we should use |
Part of #5676. Co-authored-by: Akuli <[email protected]>
I think all of the work is done in the |
Personally, I would not put the work into Python 2 stubs, but I would accept PRs improving them. |
I'm also not up to put some work into Python 2 stubs 😄 so next would be the stubs under the |
Looks like there's no work left. (I forgot what Python 2 is.) |
From micro codery on typing-sig:
From @srittau on #5675:
I think we should do both of these things. We can find some existing offenders with
git grep 'def __enter__(self) -> [A-Z]'
.The text was updated successfully, but these errors were encountered: