summaryrefslogtreecommitdiffstats
path: root/Modules/itertoolsmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 18:25:22 (GMT)
committerGitHub <noreply@github.com>2023-08-24 18:25:22 (GMT)
commitc494fb333b57bdf43fc90189fc29a00c293b2987 (patch)
treea5d6ade6fcadaffadce8f400d079f615f5d0ad76 /Modules/itertoolsmodule.c
parent995f4c48e11349fbfb9233e02b732d4534d3008e (diff)
downloadcpython-c494fb333b57bdf43fc90189fc29a00c293b2987.zip
cpython-c494fb333b57bdf43fc90189fc29a00c293b2987.tar.gz
cpython-c494fb333b57bdf43fc90189fc29a00c293b2987.tar.bz2
gh-106320: Remove private _PyEval function (#108433)
Move private _PyEval functions to the internal C API (pycore_ceval.h): * _PyEval_GetBuiltin() * _PyEval_GetBuiltinId() * _PyEval_GetSwitchInterval() * _PyEval_MakePendingCalls() * _PyEval_SetProfile() * _PyEval_SetSwitchInterval() * _PyEval_SetTrace() No longer export most of these functions.
Diffstat (limited to 'Modules/itertoolsmodule.c')
-rw-r--r--Modules/itertoolsmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index 0ab6d33..4ed34aa 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -1,5 +1,6 @@
#include "Python.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
+#include "pycore_ceval.h" // _PyEval_GetBuiltin()
#include "pycore_long.h" // _PyLong_GetZero()
#include "pycore_moduleobject.h" // _PyModule_GetState()
#include "pycore_typeobject.h" // _PyType_GetModuleState()