Closed
Description
If I write:
try:
import collections.abc as collections_abc
except ImportError:
import collections as collections_abc
Then I get:
Name 'collections_abc' already defined
This is similar to what happens in conditional class definition in #1874
Metadata
Metadata
Assignees
Labels
No labels