summaryrefslogtreecommitdiffstats
path: root/Objects/iterobject.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 /Objects/iterobject.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 'Objects/iterobject.c')
-rw-r--r--Objects/iterobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/iterobject.c b/Objects/iterobject.c
index cf7cb8a..135ced9 100644
--- a/Objects/iterobject.c
+++ b/Objects/iterobject.c
@@ -3,6 +3,7 @@
#include "Python.h"
#include "pycore_abstract.h" // _PyObject_HasLen()
#include "pycore_call.h" // _PyObject_CallNoArgs()
+#include "pycore_ceval.h" // _PyEval_GetBuiltin()
#include "pycore_object.h" // _PyObject_GC_TRACK()
typedef struct {