mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Add missing versionadded
directive for PyCode_Addr2Location
(GH-101347)
(cherry picked from commit f11a3d1ebe
)
Co-authored-by: Max Bachmann <oss@maxbachmann.de>
This commit is contained in:
parent
898de13f91
commit
4c763463fc
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