Skip to content

Add PyMethodDescr_Check wrapper for CPython

Boxiang Sun requested to merge Daetalus/pycapicompat:method_descr into master

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.

Merge request reports