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
Although mypy complains about integer_tuple not being an iterable:
fk.py:2: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
Note that this only happens if the second interable in zip contains two iterables with different lengths, but not if they are both the same, i.e. ((1, 2), (3, 4)) does not raise any error from mypy .
Using Python 3.6.8 and mypy 0.701
The text was updated successfully, but these errors were encountered:
This code runs just fine:
And output is as expected:
Although mypy complains about
integer_tuple
not being an iterable:Note that this only happens if the second interable in
zip
contains two iterables with different lengths, but not if they are both the same, i.e.((1, 2), (3, 4))
does not raise any error from mypy .Using Python 3.6.8 and mypy 0.701
The text was updated successfully, but these errors were encountered: