summaryrefslogtreecommitdiffstats
path: root/Programs/test_frozenmain.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-21 14:52:54 (GMT)
committerGitHub <noreply@github.com>2022-04-21 14:52:54 (GMT)
commit2a5f171759a31597032cfe52646929e6f8727243 (patch)
tree0ef894868fc9e6dec266dd9379c52610c60405bc /Programs/test_frozenmain.h
parent1b184c84082530f35c593cb7728752e258371c30 (diff)
downloadcpython-2a5f171759a31597032cfe52646929e6f8727243.zip
cpython-2a5f171759a31597032cfe52646929e6f8727243.tar.gz
cpython-2a5f171759a31597032cfe52646929e6f8727243.tar.bz2
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.
Diffstat (limited to 'Programs/test_frozenmain.h')
0 files changed, 0 insertions, 0 deletions