commit | 4c9ea093cd752a6687864674d34250653653f743 | [log] [tgz] |
---|---|---|
author | scoder <stefan_ml@behnel.de> | Tue May 12 16:12:41 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue May 12 07:12:41 2020 -0700 |
tree | 1e20a7880c4054f345d7ab39a1835193baed83dd | |
parent | 5650e76f63a6f4ec55d00ec13f143d84a2efee39 [diff] |
bpo-38787: Add PyCFunction_CheckExact() macro for exact type checks (GH-20024) … now that we allow subtypes of PyCFunction. Also add PyCMethod_CheckExact() and PyCMethod_Check() for checks against the PyCMethod subtype.