]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44378: Fix a compiler warning in Py_IS_TYPE() (GH-26644)
authorVictor Stinner <vstinner@python.org>
Fri, 11 Jun 2021 08:35:36 +0000 (10:35 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Jun 2021 08:35:36 +0000 (10:35 +0200)
commit304dfec8d3c0763734ea8b5fa2af1d9e1ce69ffa
tree77344bbbd948d0966a6964c53e5d7f11c8414cbd
parent3a7cccfd6cd3693e1a2ab65ee05d7f45f8501dfa
bpo-44378: Fix a compiler warning in Py_IS_TYPE() (GH-26644)

Py_IS_TYPE() no longer uses Py_TYPE() to avoid a compiler warning:
no longer cast "const PyObject*" to "PyObject*".
Include/object.h
Misc/NEWS.d/next/C API/2021-06-10-15-22-31.bpo-44378.jGYakF.rst [new file with mode: 0644]