summaryrefslogtreecommitdiff
path: root/Cython/Utility/CpdefEnums.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Utility/CpdefEnums.pyx')
-rw-r--r--Cython/Utility/CpdefEnums.pyx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Cython/Utility/CpdefEnums.pyx b/Cython/Utility/CpdefEnums.pyx
index 148d776c2..546551f14 100644
--- a/Cython/Utility/CpdefEnums.pyx
+++ b/Cython/Utility/CpdefEnums.pyx
@@ -6,10 +6,7 @@ cdef extern from *:
int PY_VERSION_HEX
cdef object __Pyx_OrderedDict
-if PY_VERSION_HEX >= 0x02070000:
- from collections import OrderedDict as __Pyx_OrderedDict
-else:
- __Pyx_OrderedDict = dict
+from collections import OrderedDict as __Pyx_OrderedDict
@cython.internal
cdef class __Pyx_EnumMeta(type):