summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2015-09-18 05:55:40 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2015-09-18 05:55:40 (GMT)
commitc791507e1fd1ce218f40c7bd4b85076c278ae8d9 (patch)
tree6df3e7e2937a41aeb7d3534413dcfd07103f00d4 /Lib/enum.py
parentb134a2a5ae38f0c692b6f41401d42354f6f09c21 (diff)
downloadcpython-c791507e1fd1ce218f40c7bd4b85076c278ae8d9.zip
cpython-c791507e1fd1ce218f40c7bd4b85076c278ae8d9.tar.gz
cpython-c791507e1fd1ce218f40c7bd4b85076c278ae8d9.tar.bz2
Issue 25147: add reason for using _collections
Diffstat (limited to 'Lib/enum.py')
-rw-r--r--Lib/enum.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index 6284b9b..8d04e2d 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -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: