Skip to content

Commit 5c8f375

Browse files
committed
pythongh-119786: move locations doc to InternalDocs. Delete lnotab_notes.txt as it is for older versions
1 parent 030b452 commit 5c8f375

File tree

3 files changed

+8
-234
lines changed

3 files changed

+8
-234
lines changed

Diff for: InternalDocs/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ it is not, please report that through the
1414

1515
[Compiler Design](compiler.md)
1616

17-
[Exception Handling](exception_handling.md)
18-
1917
[Adaptive Instruction Families](adaptive.md)
18+
19+
[The Source Code Locations Table](locations.md)
20+
21+
[Exception Handling](exception_handling.md)

Diff for: Objects/locations.md renamed to InternalDocs/locations.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Locations table
22

3-
For versions up to 3.10 see ./lnotab_notes.txt
3+
The `co_linetable` bytes object of code objects contains a compact
4+
representation of the source code positions of instructions, which are
5+
returned by the `co_positions()` iterator.
46

5-
In version 3.11 the `co_linetable` bytes object of code objects contains a compact representation of the positions returned by the `co_positions()` iterator.
6-
7-
The `co_linetable` consists of a sequence of location entries.
7+
`co_linetable` consists of a sequence of location entries.
88
Each entry starts with a byte with the most significant bit set, followed by zero or more bytes with most significant bit unset.
99

1010
Each entry contains the following information:

Diff for: Objects/lnotab_notes.txt

-228
This file was deleted.

0 commit comments

Comments
 (0)