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
The inferred Any type is unexpected:
Any
t.py:
t.py
import t2 def f() -> None: pass reveal_type(t2.f) # Revealed type is 'Any'
t2.py:
t2.py
from t import f
A better option would be to reveal the correct type or generate an error if it's not possible.
The text was updated successfully, but these errors were encountered:
This was also fixed by #4695.
Sorry, something went wrong.
JukkaL
No branches or pull requests
The inferred
Any
type is unexpected:t.py
:t2.py
:A better option would be to reveal the correct type or generate an error if it's not possible.
The text was updated successfully, but these errors were encountered: