mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-103092: Isolate _collections
(#103093)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
parent
411b169281
commit
52f96d3ea3
5 changed files with 286 additions and 282 deletions
|
@ -45,6 +45,11 @@ except ImportError:
|
|||
else:
|
||||
_collections_abc.MutableSequence.register(deque)
|
||||
|
||||
try:
|
||||
from _collections import _deque_iterator
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
try:
|
||||
from _collections import defaultdict
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue