]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in lnotab_notes.txt (GH-26711)
authorGabriele N. Tornetta <P403n1x87@users.noreply.github.com>
Mon, 14 Jun 2021 14:49:05 +0000 (15:49 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Jun 2021 14:49:05 +0000 (11:49 -0300)
Thanks for your contribution @P403n1x87

Objects/lnotab_notes.txt

index f482310a34dd3a999dde1b0958a109417596072a..e52e437c65025eefb94006c9af5dae162c53986c 100644 (file)
@@ -67,7 +67,7 @@ def co_lines(code):
     table_iter = iter(code.internal_line_table):
     for sdelta, ldelta in table_iter:
         if ldelta == 0: # No change to line number, just accumulate changes to end
-            end += odelta
+            end += sdelta
             continue
         start = end
         end = start + sdelta