]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120642: Move _PyCode_CODE() to the internal C API (#121644)
authorVictor Stinner <vstinner@python.org>
Sat, 13 Jul 2024 21:07:49 +0000 (23:07 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Jul 2024 21:07:49 +0000 (23:07 +0200)
commita2bec77d25b11f50362a7117223f6d1d5029a909
tree0052b116ab9c3337c45525db52fe883580f766ba
parentb5805892d55e769335c11a994b586355720263ba
gh-120642: Move _PyCode_CODE() to the internal C API (#121644)

Move _PyCode_CODE() and _PyCode_NBYTES() macros to the internal C API
since they use _Py_CODEUNIT which is only part of the internal C API.
Include/cpython/code.h
Include/internal/pycore_code.h