Skip to content

Commit c624f74

Browse files
committed
_PyFrameEvalFunction changelog
1 parent c167f44 commit c624f74

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Doc/c-api/init.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,18 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
14451445
The *throwflag* parameter is used by the ``throw()`` method of generators:
14461446
if non-zero, handle the current exception.
14471447
1448-
.. versionadded:: next
1448+
.. versionadded:: 3.6
1449+
as ``_PyFrameEvalFunction``.
1450+
1451+
.. versionchanged:: 3.9
1452+
The function now takes a *tstate* parameter.
1453+
1454+
.. versionchanged:: 3.11
1455+
The *frame* parameter changed from ``PyFrameObject*`` to ``_PyInterpreterFrame*``.
1456+
1457+
.. versionchanged:: next
1458+
Renamed to :c:type:`!PyUnstable_FrameEvalFunction`. The old private name
1459+
is deprecated, but will be available until the API changes.
14491460
14501461
.. c:function:: PyUnstable_FrameEvalFunction PyUnstable_InterpreterState_GetEvalFrameFunc(PyInterpreterState *interp)
14511462

0 commit comments

Comments
 (0)