Skip to content

Commit 7ddaea4

Browse files
committed
gh-154753: Update references to moved files in the docs
1 parent 89d7d3e commit 7ddaea4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/extending/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ Finally it should be mentioned that Capsules offer additional functionality,
14051405
which is especially useful for memory allocation and deallocation of the pointer
14061406
stored in a Capsule. The details are described in the Python/C API Reference
14071407
Manual in the section :ref:`capsules` and in the implementation of Capsules (files
1408-
:file:`Include/pycapsule.h` and :file:`Objects/pycapsule.c` in the Python source
1408+
:file:`Include/pycapsule.h` and :file:`Objects/capsule.c` in the Python source
14091409
code distribution).
14101410

14111411
.. rubric:: Footnotes

Doc/library/sys.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,8 +1660,8 @@ always available. Unless explicitly noted otherwise, all variables are read-only
16601660
The interpreter is about to execute a new line of code or re-execute the
16611661
condition of a loop. The local trace function is called; *arg* is
16621662
``None``; the return value specifies the new local trace function. See
1663-
:file:`Objects/lnotab_notes.txt` for a detailed explanation of how this
1664-
works.
1663+
:attr:`~codeobject.co_lnotab` for information about the mapping from
1664+
bytecode offsets to line numbers.
16651665
Per-line events may be disabled for a frame by setting
16661666
:attr:`~frame.f_trace_lines` to :const:`False` on that
16671667
:ref:`frame <frame-objects>`.

0 commit comments

Comments
 (0)