diff options
| author | Victor Stinner <vstinner@python.org> | 2023-08-24 18:25:22 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-24 18:25:22 (GMT) |
| commit | c494fb333b57bdf43fc90189fc29a00c293b2987 (patch) | |
| tree | a5d6ade6fcadaffadce8f400d079f615f5d0ad76 /Modules/arraymodule.c | |
| parent | 995f4c48e11349fbfb9233e02b732d4534d3008e (diff) | |
| download | cpython-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/arraymodule.c')
| -rw-r--r-- | Modules/arraymodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 5c1e6cb..309a369 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -10,6 +10,7 @@ #include "Python.h" #include "pycore_bytesobject.h" // _PyBytes_Repeat #include "pycore_call.h" // _PyObject_CallMethod() +#include "pycore_ceval.h" // _PyEval_GetBuiltin() #include "pycore_long.h" // _PyLong_FromByteArray() #include "pycore_moduleobject.h" // _PyModule_GetState() |
