summaryrefslogtreecommitdiffstats
path: root/Python/dup2.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-11-30 17:17:50 (GMT)
committerGitHub <noreply@github.com>2022-11-30 17:17:50 (GMT)
commit131801d14dfc4f0b2b79103612c88e2e282ff158 (patch)
treeeb23947c6e423613b59a161d8fa9a3530362783c /Python/dup2.c
parent85dd6cb6df996b1197266d1a50ecc9187a91e481 (diff)
downloadcpython-131801d14dfc4f0b2b79103612c88e2e282ff158.zip
cpython-131801d14dfc4f0b2b79103612c88e2e282ff158.tar.gz
cpython-131801d14dfc4f0b2b79103612c88e2e282ff158.tar.bz2
gh-99845: PEP 670: Convert PyObject macros to functions (#99850)
Convert macros to static inline functions to avoid macro pitfalls, like duplication of side effects: * _PyObject_SIZE() * _PyObject_VAR_SIZE() The result type is size_t (unsigned).
Diffstat (limited to 'Python/dup2.c')
0 files changed, 0 insertions, 0 deletions