-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
int.__new__ needs a stub #2686
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
Labels
stubs: incomplete
Annotations or sub-modules missing from an existing package or module
Comments
So I guess it's not possible to add a stub for |
I am experiencing the same issue with |
@Bhargavasomu see #2630 |
srittau
added a commit
to srittau/typeshed
that referenced
this issue
Sep 17, 2020
hauntsaninja
pushed a commit
that referenced
this issue
Sep 30, 2020
Closed by #4555 |
This was referenced May 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that
int
doesn't have a method stub for__new__
, which causes mypy to complain on code that attempts to subclass int. Unfortunately, I'm not sure exactly how to write this stub. If someone can give me some guidance, I can try to write a pull request.The text was updated successfully, but these errors were encountered: