You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lambdas.py:6: error: Argument 2 to "apply" has incompatible type Callable[[Any], None]; expected Callable[[Any], None]
It seems like mypy is having trouble inferring the right thing about the given inline lambda function with python 2 style annotations.
Also, the error message seems misleading because it's claiming the incompatible type is not the expected, but the error message says they're both the same thing.
mypy 0.4.2
python 3.5.0
Thanks!
The text was updated successfully, but these errors were encountered:
Running mypy on the following file, lambdas.py:
I get the error
It seems like mypy is having trouble inferring the right thing about the given inline lambda function with python 2 style annotations.
Also, the error message seems misleading because it's claiming the incompatible type is not the expected, but the error message says they're both the same thing.
mypy 0.4.2
python 3.5.0
Thanks!
The text was updated successfully, but these errors were encountered: