mirror of
https://github.com/python/cpython.git
synced 2026-05-03 09:01:07 +00:00
gh-134690: Removed deprecated codetype.co_lnotab (#134691)
This commit is contained in:
parent
6d7bbee1d5
commit
85d3bcd4f3
15 changed files with 16 additions and 348 deletions
|
|
@ -70,14 +70,6 @@ ### Format of the locations table
|
|||
representation of the source code positions of instructions, which are
|
||||
returned by the `co_positions()` iterator.
|
||||
|
||||
> [!NOTE]
|
||||
> `co_linetable` is not to be confused with `co_lnotab`.
|
||||
> For backwards compatibility, `co_lnotab` exposes the format
|
||||
> as it existed in Python 3.10 and lower: this older format
|
||||
> stores only the start line for each instruction.
|
||||
> It is lazily created from `co_linetable` when accessed.
|
||||
> See [`Objects/lnotab_notes.txt`](../Objects/lnotab_notes.txt) for more details.
|
||||
|
||||
`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 the most significant bit unset.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue