We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
With current master of mypy and typeshed:
% mypy --custom-typeshed-dir . -c 'reveal_type((-2) ** 0.5)' <string>:1: note: Revealed type is "builtins.float"
It's actually a complex.
This was brought up in python/mypy#12073 (comment) by @isaacto. cc @AlexWaygood who helped create our current stack of int.__pow__ overloads.
int.__pow__
The text was updated successfully, but these errors were encountered:
Fix float.__rpow__
float.__rpow__
a9ca5ac
Fixes #7046.
Fix float.__rpow__ (#7047)
d5101dc
Successfully merging a pull request may close this issue.
With current master of mypy and typeshed:
It's actually a complex.
This was brought up in python/mypy#12073 (comment) by @isaacto. cc @AlexWaygood who helped create our current stack of
int.__pow__
overloads.The text was updated successfully, but these errors were encountered: