mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Add missing versionadded
directive for PyCode_Addr2Location
(#101347)
This commit is contained in:
parent
c67b00534a
commit
f11a3d1ebe
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ bound into a function.
|
|||
|
||||
Returns ``1`` if the function succeeds and 0 otherwise.
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
.. c:function:: PyObject* PyCode_GetCode(PyCodeObject *co)
|
||||
|
||||
Equivalent to the Python code ``getattr(co, 'co_code')``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue