-
-
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
pow float return value is Any in 0.950 #7733
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Could you open a separate issue about the second thing? It looks like a completely different problem. Issue number 1 looks like a pretty clear consequence of #7047 (cc. @JelleZijlstra). We might be able to make the types more specific by adding yet another overload to |
But this doesn't happen for
|
Bug Report
I upgraded to mypy 0.950 today and ran into the following error involving function return types:
To Reproduce
Expected Behavior
Expected this to pass cleanly.
Actual Behavior
I'm not sure why this now returns Any.
Your Environment
mypy.ini
(and other config files): strict = TrueThe text was updated successfully, but these errors were encountered: