diff options
Diffstat (limited to 'Doc/c-api/reflection.rst')
-rw-r--r-- | Doc/c-api/reflection.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/c-api/reflection.rst b/Doc/c-api/reflection.rst index 594c1ec..21d9878 100644 --- a/Doc/c-api/reflection.rst +++ b/Doc/c-api/reflection.rst @@ -33,10 +33,11 @@ Reflection .. c:function:: int PyFrame_GetCode(PyFrameObject *frame) - Return a borrowed reference to the *frame* code. - The frame code cannot be ``NULL``. + Get the *frame* code. - *frame* must not be ``NULL``. + Return a strong reference. + + *frame* must not be ``NULL``. The result (frame code) cannot be ``NULL``. .. versionadded:: 3.9 |