diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-03 09:39:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 09:39:11 (GMT) |
commit | 35963da40fb7bc93c55d94caf58ff9e268df951d (patch) | |
tree | 06f5c1ef62c3f23351ecc9de7caf260f42a4c937 /Objects/boolobject.c | |
parent | 5ccbbe5bb9a659fa8f2fe551428c84cc14015f44 (diff) | |
download | cpython-35963da40fb7bc93c55d94caf58ff9e268df951d.zip cpython-35963da40fb7bc93c55d94caf58ff9e268df951d.tar.gz cpython-35963da40fb7bc93c55d94caf58ff9e268df951d.tar.bz2 |
gh-106320: Create pycore_modsupport.h header file (#106355)
Remove the following functions from the C API, move them to the internal C
API: add a new pycore_modsupport.h internal header file:
* PyModule_CreateInitialized()
* _PyArg_NoKwnames()
* _Py_VaBuildStack()
No longer export these functions.
Diffstat (limited to 'Objects/boolobject.c')
-rw-r--r-- | Objects/boolobject.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/boolobject.c b/Objects/boolobject.c index f43e26f..bbb187c 100644 --- a/Objects/boolobject.c +++ b/Objects/boolobject.c @@ -1,8 +1,9 @@ /* Boolean type, a subtype of int */ #include "Python.h" -#include "pycore_object.h" // _Py_FatalRefcountError() -#include "pycore_long.h" // FALSE_TAG TRUE_TAG +#include "pycore_long.h" // FALSE_TAG TRUE_TAG +#include "pycore_modsupport.h" // _PyArg_NoKwnames() +#include "pycore_object.h" // _Py_FatalRefcountError() #include "pycore_runtime.h" // _Py_ID() #include <stddef.h> |