Skip to content

Commit c791507

Browse files
committed
Issue 25147: add reason for using _collections
1 parent b134a2a commit c791507

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Lib/enum.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import sys
22
from types import MappingProxyType, DynamicClassAttribute
33

4+
# try _collections first to reduce startup cost
45
try:
56
from _collections import OrderedDict
67
except ImportError:

0 commit comments

Comments
 (0)