[Python-checkins] Fix typo in lnotab_notes.txt (GH-26711)
nanjekyejoannah
webhook-mailer at python.org
Mon Jun 14 10:49:10 EDT 2021
https://github.com/python/cpython/commit/cc8ecf6864375994899fd79d601ab05d0df9edbf
commit: cc8ecf6864375994899fd79d601ab05d0df9edbf
branch: main
author: Gabriele N. Tornetta <P403n1x87 at users.noreply.github.com>
committer: nanjekyejoannah <33177550+nanjekyejoannah at users.noreply.github.com>
date: 2021-06-14T11:49:05-03:00
summary:
Fix typo in lnotab_notes.txt (GH-26711)
Thanks for your contribution @P403n1x87
files:
M Objects/lnotab_notes.txt
diff --git a/Objects/lnotab_notes.txt b/Objects/lnotab_notes.txt
index f482310a34dd3..e52e437c65025 100644
--- a/Objects/lnotab_notes.txt
+++ b/Objects/lnotab_notes.txt
@@ -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
More information about the Python-checkins
mailing list