Close issue25147: use C implementation of OrderedDict

This commit is contained in:
Ethan Furman 2015-09-17 22:03:52 -07:00
parent 6db1fd5fb8
commit e5754ab0c4
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,12 @@
import sys
from collections import OrderedDict
from types import MappingProxyType, DynamicClassAttribute
try:
from _collections import OrderedDict
except ImportError:
from collections import OrderedDict
__all__ = ['Enum', 'IntEnum', 'unique']