-
-
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
Fix zero exponent for int
s
#7163
Conversation
It is typed as `int` instead of `Any` now
This comment has been minimized.
This comment has been minimized.
Could you add the new overload to the |
This comment has been minimized.
This comment has been minimized.
Mhmmm, of course, missed those. Overloads there require
|
Yeah, mypy gets all panicky about this kind of thing, but infers the types just fine anyway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This comment has been minimized.
This comment has been minimized.
1 similar comment
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
It is typed as
int
instead ofAny
after this PR.Followup to #6325 (comment)