summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/code.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-03-30 11:00:27 (GMT)
committerGitHub <noreply@github.com>2022-03-30 11:00:27 (GMT)
commit6881ea936e277b1733bee581c4e59e3a5d53bb29 (patch)
tree6e3e42543aeec32f83ccb3592cc05889626e2dde /Doc/c-api/code.rst
parentd8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f (diff)
downloadcpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.zip
cpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.tar.gz
cpython-6881ea936e277b1733bee581c4e59e3a5d53bb29.tar.bz2
bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)
Diffstat (limited to 'Doc/c-api/code.rst')
-rw-r--r--Doc/c-api/code.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/code.rst b/Doc/c-api/code.rst
index 2b0cdf4..840b842 100644
--- a/Doc/c-api/code.rst
+++ b/Doc/c-api/code.rst
@@ -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)