summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele N. Tornetta <P403n1x87@users.noreply.github.com>2021-06-14 14:49:05 (GMT)
committerGitHub <noreply@github.com>2021-06-14 14:49:05 (GMT)
commitcc8ecf6864375994899fd79d601ab05d0df9edbf (patch)
tree8ff0796fac27f719647c349e7562aaa57c1413b6
parent8a76683cfb842e12b57f6d276839f6c68fd94e1a (diff)
downloadcpython-cc8ecf6864375994899fd79d601ab05d0df9edbf.zip
cpython-cc8ecf6864375994899fd79d601ab05d0df9edbf.tar.gz
cpython-cc8ecf6864375994899fd79d601ab05d0df9edbf.tar.bz2
Fix typo in lnotab_notes.txt (GH-26711)
Thanks for your contribution @P403n1x87
-rw-r--r--Objects/lnotab_notes.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/lnotab_notes.txt b/Objects/lnotab_notes.txt
index f482310..e52e437 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