diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-23 18:49:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 18:49:21 (GMT) |
commit | 78859e58e4e016286e648d1dc155e0f6cebfa6ff (patch) | |
tree | 804afe0961277f2ed71e0ff5eb741b353c4929e6 | |
parent | 0bb40a42d71873ea267aace8c92a02d66fe36dc2 (diff) | |
download | cpython-78859e58e4e016286e648d1dc155e0f6cebfa6ff.zip cpython-78859e58e4e016286e648d1dc155e0f6cebfa6ff.tar.gz cpython-78859e58e4e016286e648d1dc155e0f6cebfa6ff.tar.bz2 |
bpo-40421: Fix PyFrame_GetCode() documentation (GH-31535)
Fix PyFrame_GetBack() and PyFrame_GetCode() return type in
the documentation.
-rw-r--r-- | Doc/c-api/reflection.rst | 4 |
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. |