summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2017-08-25 22:46:13 +0200
committerStefan Behnel <stefan_ml@behnel.de>2017-08-25 22:55:38 +0200
commitbe8e9ced88a366228b41a64045e9cbfa8fa51928 (patch)
tree0840523177ef73c0fce91a94b6f140c4112c4705 /Cython/Compiler/ModuleNode.py
parent51cc426a21001c7d6e5e09fed1bfc9951ea86dcb (diff)
downloadcython-be8e9ced88a366228b41a64045e9cbfa8fa51928.tar.gz
Remove support and special handling code for Py3.2.
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r--Cython/Compiler/ModuleNode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
index e1b3ad995..c3f900b71 100644
--- a/Cython/Compiler/ModuleNode.py
+++ b/Cython/Compiler/ModuleNode.py
@@ -619,8 +619,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln(" #error Python headers needed to compile C extensions, "
"please install development version of Python.")
code.putln("#elif PY_VERSION_HEX < 0x02060000 || "
- "(0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)")
- code.putln(" #error Cython requires Python 2.6+ or Python 3.2+.")
+ "(0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)")
+ code.putln(" #error Cython requires Python 2.6+ or Python 3.3+.")
code.putln("#else")
code.globalstate["end"].putln("#endif /* Py_PYTHON_H */")