SIGN IN SIGN UP

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*".
(cherry picked from commit 304dfec8d3c0763734ea8b5fa2af1d9e1ce69ffa)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
e6d28a1a6ad22125fc3a6df2d611d79aa8d6f67e
Parent: d7930fb
Committed by GitHub <noreply@github.com> on 6/11/2021, 8:57:16 AM