Commit 068e0c71 authored by Stefan Behnel's avatar Stefan Behnel

fix ext type inheritance from 'int' in Py3

parent 7c832382
...@@ -556,6 +556,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -556,6 +556,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
#endif #endif
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
#define PyIntObject PyLongObject
#define PyInt_Type PyLong_Type #define PyInt_Type PyLong_Type
#define PyInt_Check(op) PyLong_Check(op) #define PyInt_Check(op) PyLong_Check(op)
#define PyInt_CheckExact(op) PyLong_CheckExact(op) #define PyInt_CheckExact(op) PyLong_CheckExact(op)
......
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