summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/reflection.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/reflection.rst')
-rw-r--r--Doc/c-api/reflection.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/reflection.rst b/Doc/c-api/reflection.rst
index 64ce4d1..fe7741a 100644
--- a/Doc/c-api/reflection.rst
+++ b/Doc/c-api/reflection.rst
@@ -31,7 +31,7 @@ Reflection
See also :c:func:`PyThreadState_GetFrame`.
-.. c:function:: int PyFrame_GetBack(PyFrameObject *frame)
+.. c:function:: PyFrameObject* PyFrame_GetBack(PyFrameObject *frame)
Get the *frame* next outer frame.
@@ -42,7 +42,7 @@ Reflection
.. versionadded:: 3.9
-.. c:function:: int PyFrame_GetCode(PyFrameObject *frame)
+.. c:function:: PyCodeObject* PyFrame_GetCode(PyFrameObject *frame)
Get the *frame* code.