]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39573: Make Py_IS_TYPE() take constant parameters (GH-18799)
authorAndy Lester <andy@petdance.com>
Fri, 6 Mar 2020 08:03:58 +0000 (02:03 -0600)
committerGitHub <noreply@github.com>
Fri, 6 Mar 2020 08:03:58 +0000 (09:03 +0100)
commit8767ce92d24d3687405848442e6c67cf0af1c657
treefe11e8ffa447ba7ac65d31cf48109422f5c45794
parent8bae21962bab2fac7630982abd73676b89930902
bpo-39573: Make Py_IS_TYPE() take constant parameters (GH-18799)

Add _PyObject_CAST_CONST() macro: cast a pointer to (const PyObject *).
Include/object.h