Use collections.abc
Importing abstract base classes like Iterable
should be done from collections.abc
instead of directly from collections, and it will be disabled in Python 3.8; see the docs.
Importing abstract base classes like Iterable
should be done from collections.abc
instead of directly from collections, and it will be disabled in Python 3.8; see the docs.