diff options
author | Victor Stinner <vstinner@python.org> | 2022-05-11 21:24:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 21:24:48 (GMT) |
commit | 897f14d38d1b455668f9f7ce87892f5efcaf8932 (patch) | |
tree | 7b2f8461869d906f38067b583deb24927666638b /Python/bltinmodule.c | |
parent | da5727a120e426ffaf68bf3a8016491205bd2f80 (diff) | |
download | cpython-897f14d38d1b455668f9f7ce87892f5efcaf8932.zip cpython-897f14d38d1b455668f9f7ce87892f5efcaf8932.tar.gz cpython-897f14d38d1b455668f9f7ce87892f5efcaf8932.tar.bz2 |
gh-89653: PEP 670: Convert PyCell macros to functions (#92653)
Convert the following macros to static inline functions:
* PyCell_GET()
* PyCell_SET()
Limited C API version 3.12 no longer casts arguments.
Fix also usage of PyCell_SET(): only delete the old value after
setting the new value.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions