Add missing `versionadded` directive for `PyCode_Addr2Location` (#101347)

This commit is contained in:
Max Bachmann 2023-02-04 04:33:28 +01:00 committed by GitHub
parent c67b00534a
commit f11a3d1ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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')``.