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 /Objects/setobject.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 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index c96b62e..14b53c1 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -32,6 +32,7 @@ */ #include "Python.h" +#include "pycore_ceval.h" // _PyEval_GetBuiltin() #include "pycore_dict.h" // _PyDict_Contains_KnownHash() #include "pycore_modsupport.h" // _PyArg_NoKwnames() #include "pycore_object.h" // _PyObject_GC_UNTRACK() |