Commit 49d9254c authored by Stefan Behnel's avatar Stefan Behnel

remove compatibility #define for PyMethod_New() as it breaks the macro definition

--HG--
extra : transplant_source : V%1D%AF%BB%C2%E7l4%28%AE%8C%A9-%B0%B4%11%91%1B%FB%2C
parent 7ab8b329
......@@ -172,10 +172,6 @@
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
#ifndef PyMethod_New
/* for backwards compatibility only, but PyPy redefines PyMethod_New unconditionally */
#define PyMethod_New(func, self, klass) __Pyx_PyMethod_New(func, self, klass)
#endif
#else
#define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
#endif
......
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