diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-30 17:17:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 17:17:50 (GMT) |
commit | 131801d14dfc4f0b2b79103612c88e2e282ff158 (patch) | |
tree | eb23947c6e423613b59a161d8fa9a3530362783c /Python/dup2.c | |
parent | 85dd6cb6df996b1197266d1a50ecc9187a91e481 (diff) | |
download | cpython-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