mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Issue 25147: add reason for using _collections
This commit is contained in:
parent
b134a2a5ae
commit
c791507e1f
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
import sys
|
||||
from types import MappingProxyType, DynamicClassAttribute
|
||||
|
||||
# try _collections first to reduce startup cost
|
||||
try:
|
||||
from _collections import OrderedDict
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue