Skip to content

Commit

Permalink
pythongh-119786: move locations doc to InternalDocs. Delete lnotab_no…
Browse files Browse the repository at this point in the history
…tes.txt as it is for older versions
  • Loading branch information
iritkatriel committed Jun 13, 2024
1 parent 030b452 commit 83b9001
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 232 deletions.
8 changes: 4 additions & 4 deletions Objects/locations.md → InternalDocs/locations.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Locations table

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

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.

The `co_linetable` consists of a sequence of location entries.
`co_linetable` consists of a sequence of location entries.
Each entry starts with a byte with the most significant bit set, followed by zero or more bytes with most significant bit unset.

Each entry contains the following information:
Expand Down
228 changes: 0 additions & 228 deletions Objects/lnotab_notes.txt

This file was deleted.

0 comments on commit 83b9001

Please sign in to comment.