Skip to content

Commit 3e6cc65

Browse files
committed
Update documentation
1 parent 58ac314 commit 3e6cc65

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Doc/c-api/frame.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,15 @@ Internal Frames
223223
224224
Unless using :pep:`523`, you will not need this.
225225
226-
.. c:struct:: _PyInterpreterFrame
226+
.. c:struct:: PyUnstable_InterpreterFrame
227227
228228
The interpreter's internal frame representation.
229229
230230
.. versionadded:: 3.11
231+
.. versionchanged:: next
232+
Renamed to ``PyUnstable_InterpreterFrame``.
231233
232-
.. c:function:: PyObject* PyUnstable_InterpreterFrame_GetCode(struct _PyInterpreterFrame *frame);
234+
.. c:function:: PyObject* PyUnstable_InterpreterFrame_GetCode(PyUnstable_InterpreterFrame *frame);
233235
234236
Return a :term:`strong reference` to the code object for the frame.
235237
@@ -246,14 +248,14 @@ Unless using :pep:`523`, you will not need this.
246248
.. versionadded:: next
247249
248250
249-
.. c:function:: int PyUnstable_InterpreterFrame_GetLasti(struct _PyInterpreterFrame *frame);
251+
.. c:function:: int PyUnstable_InterpreterFrame_GetLasti(PyUnstable_InterpreterFrame *frame);
250252
251253
Return the byte offset into the last executed instruction.
252254
253255
.. versionadded:: 3.12
254256
255257
256-
.. c:function:: int PyUnstable_InterpreterFrame_GetLine(struct _PyInterpreterFrame *frame);
258+
.. c:function:: int PyUnstable_InterpreterFrame_GetLine(PyUnstable_InterpreterFrame *frame);
257259
258260
Return the currently executing line number, or -1 if there is no line number.
259261

0 commit comments

Comments
 (0)