Commit 785caeef authored by Stefan Behnel's avatar Stefan Behnel

Py2.3 fix

parent 5e353333
...@@ -411,6 +411,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -411,6 +411,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("#endif") code.putln("#endif")
code.putln("#if PY_VERSION_HEX < 0x02040000") code.putln("#if PY_VERSION_HEX < 0x02040000")
code.putln(" #define METH_COEXIST 0") code.putln(" #define METH_COEXIST 0")
code.putln(" #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)")
code.putln("#endif") code.putln("#endif")
code.putln("#if PY_VERSION_HEX < 0x02050000") code.putln("#if PY_VERSION_HEX < 0x02050000")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment