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.
Step 1. Fetch and check out the branch for this merge request
git fetch "https://lab.nexedi.com/Daetalus/pycapicompat.git" "method_descr" git checkout -b "Daetalus/pycapicompat-method_descr" FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout "origin/master" git merge --no-ff "Daetalus/pycapicompat-method_descr"
Step 4. Push the result of the merge to GitLab
git push origin "master"
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.