Add PyMethodDescr_Check wrapper for CPython
CPython didn't exposed PyMethodDescr_Type. And it is hard to check whether an object is PyMethodDescr_Type. This logic was originally from Cython, with some modifications.
CPython didn't exposed PyMethodDescr_Type. And it is hard to check whether an object is PyMethodDescr_Type. This logic was originally from Cython, with some modifications.