You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The algorithm presented in the lnotab_notes.txt file is slightly inaccurate. The first linetable entry will have a line delta of 0, and should be yielded instead of skipped.
167
+
This implementation follows the lineiter definition in https://github.com/python/cpython/blob/3.10/Objects/codeobject.c#L1030.
166
168
"""
167
-
line=self.co_firstlineno
168
169
end_offset=0
170
+
line=self.co_firstlineno
171
+
169
172
# co_linetable is pairs of (offset_delta: unsigned byte, line_delta: signed byte)
0 commit comments