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
mypy.py:5: error: "Iterable" expects 1 type argument, but 2 given
even though I've used both @no_type_check and # type: ignore.
Note that I'm purposefully passing in the wrong number of generic args (to a custom generic subclass, obviously, not to Iterable) in order to work around #1304, since the typing.py fix hasn't filtered out yet.
The text was updated successfully, but these errors were encountered:
I expect to be able to silence errors relating to number of type args in generic types, but I can't.
This piece of code
results in
mypy.py:5: error: "Iterable" expects 1 type argument, but 2 given
even though I've used both
@no_type_check
and# type: ignore
.Note that I'm purposefully passing in the wrong number of generic args (to a custom generic subclass, obviously, not to
Iterable
) in order to work around #1304, since thetyping.py
fix hasn't filtered out yet.The text was updated successfully, but these errors were encountered: