We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Runtime:
akuli@akuli-desktop:/tmp$ cat asd.py class Foo: def __index__(self): return 1 akuli@akuli-desktop:/tmp$ python3.7 -c 'import math, asd; math.sin(asd.Foo())' Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: must be real number, not Foo akuli@akuli-desktop:/tmp$ python3.8 -c 'import math, asd; math.sin(asd.Foo())' akuli@akuli-desktop:/tmp$
Stub:
typeshed/stdlib/math.pyi
Line 6 in 05cc30b
Line 102 in 05cc30b
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Runtime:
Stub:
typeshed/stdlib/math.pyi
Line 6 in 05cc30b
typeshed/stdlib/math.pyi
Line 102 in 05cc30b
The text was updated successfully, but these errors were encountered: