diff options
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r-- | Cython/Utility/ModuleSetupCode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c index 47fc89216..e73574f26 100644 --- a/Cython/Utility/ModuleSetupCode.c +++ b/Cython/Utility/ModuleSetupCode.c @@ -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 |