From: Ethan Furman Date: Fri, 18 Sep 2015 05:55:40 +0000 (-0700) Subject: Issue 25147: add reason for using _collections X-Git-Tag: v3.6.0a1~1534 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c791507e1fd1ce218f40c7bd4b85076c278ae8d9;p=thirdparty%2FPython%2Fcpython.git Issue 25147: add reason for using _collections --- diff --git a/Lib/enum.py b/Lib/enum.py index 6284b9bb7eb0..8d04e2d71861 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: