diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-04-12 12:51:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 12:51:28 (GMT) |
commit | 52f96d3ea39fea4c16e26b7b10bd2db09726bd7c (patch) | |
tree | dc5724301af87f55745c36adf8ae2d2c034987e2 /Lib/collections | |
parent | 411b1692811b2ecac59cb0df0f920861c7cf179a (diff) | |
download | cpython-52f96d3ea39fea4c16e26b7b10bd2db09726bd7c.zip cpython-52f96d3ea39fea4c16e26b7b10bd2db09726bd7c.tar.gz cpython-52f96d3ea39fea4c16e26b7b10bd2db09726bd7c.tar.bz2 |
gh-103092: Isolate `_collections` (#103093)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Lib/collections')
-rw-r--r-- | Lib/collections/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index a5393aa..03ca2d7 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -46,6 +46,11 @@ else: _collections_abc.MutableSequence.register(deque) try: + from _collections import _deque_iterator +except ImportError: + pass + +try: from _collections import defaultdict except ImportError: pass |