# Pastebin aFa8vwrN #ifdef PYPY_VERSION // PYSIDE-535: PyPy does not differentiate builtin methods and methods. // But they differ because they have no __module__ attribute. #undef PyMethod_Check #define PyMethod_Check(op) (PyPyMethod_Check(op) && \ PyObject_HasAttr(op, Shiboken::PyMagicName::module())) #endif