summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-03 09:39:11 (GMT)
committerGitHub <noreply@github.com>2023-07-03 09:39:11 (GMT)
commit35963da40fb7bc93c55d94caf58ff9e268df951d (patch)
tree06f5c1ef62c3f23351ecc9de7caf260f42a4c937 /Python/bltinmodule.c
parent5ccbbe5bb9a659fa8f2fe551428c84cc14015f44 (diff)
downloadcpython-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 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 68fe315..9fe0067 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -4,13 +4,14 @@
#include <ctype.h>
#include "pycore_ast.h" // _PyAST_Validate()
#include "pycore_call.h" // _PyObject_CallNoArgs()
+#include "pycore_ceval.h" // _PyEval_Vector()
#include "pycore_compile.h" // _PyAST_Compile()
#include "pycore_long.h" // _PyLong_CompactValue
+#include "pycore_modsupport.h" // _PyArg_NoKwnames()
#include "pycore_object.h" // _Py_AddToAllObjects()
#include "pycore_pyerrors.h" // _PyErr_NoMemory()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_tuple.h" // _PyTuple_FromArray()
-#include "pycore_ceval.h" // _PyEval_Vector()
#include "clinic/bltinmodule.c.h"