bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)

This commit is contained in:
Hugo van Kemenade 2022-03-30 14:00:27 +03:00 committed by GitHub
parent d8f530fe32
commit 6881ea936e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 28 additions and 29 deletions

View file

@ -58,7 +58,7 @@ bound into a function.
If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead.
For efficiently iterating over the line numbers in a code object, use `the API described in PEP 626
<https://www.python.org/dev/peps/pep-0626/#out-of-process-debuggers-and-profilers>`_.
<https://peps.python.org/pep-0626/#out-of-process-debuggers-and-profilers>`_.
.. c:function:: int PyCode_Addr2Location(PyObject *co, int byte_offset, int *start_line, int *start_column, int *end_line, int *end_column)