diff options
Diffstat (limited to 'Lib/enum.py')
| -rw-r--r-- | Lib/enum.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Lib/enum.py b/Lib/enum.py index c3a0a8b..b8787d1 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -1,14 +1,8 @@ import sys +from collections import OrderedDict from types import MappingProxyType, DynamicClassAttribute -# try _collections first to reduce startup cost -try: - from _collections import OrderedDict -except ImportError: - from collections import OrderedDict - - -__all__ = ['EnumMeta', 'Enum', 'IntEnum', 'unique'] +__all__ = ['Enum', 'IntEnum', 'unique'] def _is_descriptor(obj): |
