mypy-data icon indicating copy to clipboard operation
mypy-data copied to clipboard

inherit Iterable

Open jwkvam opened this issue 7 years ago • 1 comments

I'm getting an error when I try to iterate over an numpy array:

error: Iterable expected

Do we need the main class to also inherit Iterable?

jwkvam avatar Aug 25 '17 17:08 jwkvam

Looking here, it should probably inherit from Sequence. It would also inherit from MutableSequence but for the fact that there is no ndarray.insert() method.

gwerbin avatar Jun 11 '18 14:06 gwerbin