summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/enum.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index 6284b9bb7e..8d04e2d718 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: