Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/extending/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ Finally it should be mentioned that Capsules offer additional functionality,
which is especially useful for memory allocation and deallocation of the pointer
stored in a Capsule. The details are described in the Python/C API Reference
Manual in the section :ref:`capsules` and in the implementation of Capsules (files
:file:`Include/pycapsule.h` and :file:`Objects/pycapsule.c` in the Python source
:file:`Include/pycapsule.h` and :file:`Objects/capsule.c` in the Python source
code distribution).

.. rubric:: Footnotes
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
The interpreter is about to execute a new line of code or re-execute the
condition of a loop. The local trace function is called; *arg* is
``None``; the return value specifies the new local trace function. See
:file:`Objects/lnotab_notes.txt` for a detailed explanation of how this
:source:`InternalDocs/code_objects.md` for a detailed explanation of how this
works.
Per-line events may be disabled for a frame by setting
:attr:`~frame.f_trace_lines` to :const:`False` on that
Expand Down
2 changes: 1 addition & 1 deletion InternalDocs/code_objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Note that traceback objects don't store all this information -- they store the s
number, for backward compatibility, and the "last instruction" value.
The rest can be computed from the last instruction (`tb_lasti`) with the help of the
locations table. For Python code, there is a convenience method
(`codeobject.co_positions`)[https://docs.python.org/dev/reference/datamodel.html#codeobject.co_positions]
[`codeobject.co_positions`](https://docs.python.org/dev/reference/datamodel.html#codeobject.co_positions)
which returns an iterator of `({line}, {endline}, {column}, {endcolumn})` tuples,
one per instruction.
There is also `co_lines()` which returns an iterator of `({start}, {end}, {line})` tuples,
Expand Down
2 changes: 1 addition & 1 deletion InternalDocs/jit.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ template file [`Tools/jit/template.c`](../Tools/jit/template.c).
Each of the `.c` files is compiled by LLVM, to produce an object file
that contains a function that executes the opcode. These compiled
functions are used to generate the file
[`jit_stencils.h`](../jit_stencils.h), which contains the functions
`jit_stencils.h`, which contains the functions
that the JIT can use to emit code for each of the bytecodes.

For Python maintainers this means that changes to the bytecodes and
Expand Down
Loading