-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Mapping tuple over a list of lists is being considered an error #1178
Comments
JukkaL
added
stubs: false positive
Type checkers report false errors
priority-normal
and removed
stubs: false positive
Type checkers report false errors
priority-normal
labels
Apr 19, 2017
This looks like a bug in mypy. Filed it as python/mypy#3193. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
map(tuple, [ [2, 3] ])
throwserror: Argument 1 to "map" has incompatible type Tuple[_T_co, ...]; expected Callable[[List[int]], Tuple[_T_co, ...]]
However, this is valid python code.
The text was updated successfully, but these errors were encountered: