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
I type checked this code:
from typing import Undefined, Dict x = Undefined(Dict[int, str]) x = {'x': 1}
I got this error message:
x.py, line 3: List item 1 has incompatible type "Tuple[str, int]"
This is confusing since I'm not creating a list and I'm not using tuples.
The text was updated successfully, but these errors were encountered:
This issue still exists; the example is now:
from typing import Dict x = None # type: Dict[int, str] x = {'x': 1}
Sorry, something went wrong.
Add specific message for type errors on dict displays (#3100)
1316c4e
This fixes #304, #1183, and #2538
Successfully merging a pull request may close this issue.
I type checked this code:
I got this error message:
This is confusing since I'm not creating a list and I'm not using tuples.
The text was updated successfully, but these errors were encountered: