From 65cce6bc60e0f02ffbe6431aa3cb20e7595b64bc Mon Sep 17 00:00:00 2001 From: Martin DeMello Date: Mon, 14 Aug 2023 22:29:53 -0700 Subject: [PATCH 1/2] Note that lnotab_notes.txt is only valid before 3.11 Adds a pointer to Objects/locations.md, the line table document for 3.11+ --- Objects/lnotab_notes.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Objects/lnotab_notes.txt b/Objects/lnotab_notes.txt index 362b87a86a481f..88f6160c2e4cee 100644 --- a/Objects/lnotab_notes.txt +++ b/Objects/lnotab_notes.txt @@ -1,4 +1,6 @@ -Description of the internal format of the line number table +Description of the internal format of the line number table in Python 3.10. + +(For 3.11 onwards, see Objects/locations.md) Conceptually, the line number table consists of a sequence of triples: start-offset (inclusive), end-offset (exclusive), line-number. From c307a72cb1297d7c3fd7b9f0d4e6381869605be9 Mon Sep 17 00:00:00 2001 From: Martin DeMello Date: Tue, 15 Aug 2023 12:39:19 -0700 Subject: [PATCH 2/2] Update Objects/lnotab_notes.txt Co-authored-by: Carl Meyer --- Objects/lnotab_notes.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Objects/lnotab_notes.txt b/Objects/lnotab_notes.txt index 88f6160c2e4cee..d45d09d4ab9a50 100644 --- a/Objects/lnotab_notes.txt +++ b/Objects/lnotab_notes.txt @@ -1,4 +1,5 @@ -Description of the internal format of the line number table in Python 3.10. +Description of the internal format of the line number table in Python 3.10 +and earlier. (For 3.11 onwards, see Objects/locations.md)