Skip to content

Conversation

@mlinvill
Copy link

Here is a trivial PR to address the following warning (and no longer works in python >= 3.9):

DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working.

I've elected to import Iterable from typing, but this is considered deprecated and may stop working at 3.9 EOL in 2025. [see https://peps.python.org/pep-0585/] This PR could also be implemented by simply importing Iterable from collections.abc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant