mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-40429: PyFrame_GetCode() now returns a strong reference (GH-19773)
This commit is contained in:
parent
5e8c691594
commit
8852ad4208
9 changed files with 35 additions and 26 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue