gh-89653: PEP 670: Convert tuple macros to functions (#91786)
Convert macros to static inline functions: * PyTuple_GET_SIZE() * PyTuple_SET_ITEM() * PyList_GET_SIZE() * PyList_SET_ITEM() Add a macro converting arguments to PyTupleObject*, PyListObject* or PyObject* to prevent emitting new compiler warnings. According to PEP 670, PyTuple_GET_ITEM() and PyList_GET_ITEM() are left as macros.
V
Victor Stinner committed
2a5f171759a31597032cfe52646929e6f8727243
Parent: 1b184c8
Committed by GitHub <noreply@github.com>
on 4/21/2022, 2:52:54 PM