Commit 315de331 authored by Stefan Behnel's avatar Stefan Behnel

replace the now missing PyNumber_Divide() by PyNumber_TrueDivide()

parent 174a8a07
...@@ -419,6 +419,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -419,6 +419,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("#if PY_MAJOR_VERSION >= 3") code.putln("#if PY_MAJOR_VERSION >= 3")
code.putln(" #define PyMethod_New(func, self, klass) (func!=NULL?(Py_INCREF(func),func):NULL)") code.putln(" #define PyMethod_New(func, self, klass) (func!=NULL?(Py_INCREF(func),func):NULL)")
code.putln(" #define PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y)")
code.putln("#endif") code.putln("#endif")
code.putln("#ifndef __stdcall") code.putln("#ifndef __stdcall")
......
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