summaryrefslogtreecommitdiff
path: root/Cython/Compiler/TypeSlots.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Compiler/TypeSlots.py')
-rw-r--r--Cython/Compiler/TypeSlots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/TypeSlots.py b/Cython/Compiler/TypeSlots.py
index fa79e353a..b3327088c 100644
--- a/Cython/Compiler/TypeSlots.py
+++ b/Cython/Compiler/TypeSlots.py
@@ -1102,7 +1102,7 @@ class SlotTable(object):
EmptySlot("tp_print", ifdef="PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000"),
EmptySlot("tp_watched", ifdef="PY_VERSION_HEX >= 0x030C0000"),
# PyPy specific extension - only here to avoid C compiler warnings.
- EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000"),
+ EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000"),
)
#------------------------------------------------------------------------------------------