]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add missing `versionadded` directive for `PyCode_Addr2Location` (#101347)
authorMax Bachmann <oss@maxbachmann.de>
Sat, 4 Feb 2023 03:33:28 +0000 (04:33 +0100)
committerGitHub <noreply@github.com>
Sat, 4 Feb 2023 03:33:28 +0000 (09:03 +0530)
Doc/c-api/code.rst

index a6eb86f1a0b5140f5b7e55d69f5aeb279a54b19e..ae75d68901d7bafcc6dd2072662f31ccf311ae78 100644 (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')``.