mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)
Move the private undocumented _PyEval_EvalFrameDefault() function to the internal C API. The function now uses the _PyInterpreterFrame type which is part of the internal C API.
This commit is contained in:
parent
d4bb38f82b
commit
b9a5522dd9
4 changed files with 13 additions and 2 deletions
|
@ -59,6 +59,11 @@ extern PyObject* _PyEval_BuiltinsFromGlobals(
|
|||
PyObject *globals);
|
||||
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(
|
||||
PyThreadState *tstate,
|
||||
struct _PyInterpreterFrame *frame,
|
||||
int throwflag);
|
||||
|
||||
static inline PyObject*
|
||||
_PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue