Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52f96d3

Browse files
gh-103092: Isolate_collections (#103093)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
1 parent411b169 commit52f96d3

File tree

5 files changed

+287
-283
lines changed

5 files changed

+287
-283
lines changed

‎Lib/collections/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
else:
4646
_collections_abc.MutableSequence.register(deque)
4747

48+
try:
49+
from_collectionsimport_deque_iterator
50+
exceptImportError:
51+
pass
52+
4853
try:
4954
from_collectionsimportdefaultdict
5055
exceptImportError:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Isolate:mod:`!_collections` (apply:pep:`687`). Patch by Erlend E. Aasland.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp