Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Lib/collections/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
import _collections_abc
import sys as _sys

_sys.modules['collections.abc'] = _collections_abc
abc = _collections_abc

from itertools import chain as _chain
from itertools import repeat as _repeat
from itertools import starmap as _starmap
Expand Down
3 changes: 0 additions & 3 deletions Lib/collections/abc.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix race condition when importing :mod:`collections.abc`, which could
incorrectly return an empty module.
Loading