Skip to content

Commit

Permalink
gh-103092: Isolate _collections (#103093)
Browse files Browse the repository at this point in the history
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
  • Loading branch information
erlend-aasland and kumaraditya303 committed Apr 12, 2023
1 parent 411b169 commit 52f96d3
Show file tree
Hide file tree
Showing 5 changed files with 287 additions and 283 deletions.
5 changes: 5 additions & 0 deletions Lib/collections/__init__.py
Expand Up @@ -45,6 +45,11 @@
else:
_collections_abc.MutableSequence.register(deque)

try:
from _collections import _deque_iterator
except ImportError:
pass

try:
from _collections import defaultdict
except ImportError:
Expand Down
@@ -0,0 +1 @@
Isolate :mod:`!_collections` (apply :pep:`687`). Patch by Erlend E. Aasland.

0 comments on commit 52f96d3

Please sign in to comment.