mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
GH-88756: Update docs for PEP 523 eval function type. (GH-91788)
This commit is contained in:
parent
ac4ffd3be2
commit
5974827c71
2 changed files with 8 additions and 1 deletions
|
@ -1228,7 +1228,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
|
|||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. c:type:: PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, PyFrameObject *frame, int throwflag)
|
||||
.. c:type:: PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, _PyInterpreterFrame *frame, int throwflag)
|
||||
|
||||
Type of a frame evaluation function.
|
||||
|
||||
|
@ -1238,6 +1238,9 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
|
|||
.. versionchanged:: 3.9
|
||||
The function now takes a *tstate* parameter.
|
||||
|
||||
.. versionchanged:: 3.11
|
||||
The *frame* parameter changed from ``PyFrameObject*`` to ``_PyInterpreterFrame*``.
|
||||
|
||||
.. c:function:: _PyFrameEvalFunction _PyInterpreterState_GetEvalFrameFunc(PyInterpreterState *interp)
|
||||
|
||||
Get the frame evaluation function.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue