You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
Fix Linemap bugs
This commit is contained in:
@@ -31,7 +31,7 @@ class LineMapWalker(SourceWalker):
|
||||
self.source_linemap[self.current_line_number] = node.linestart
|
||||
return super(LineMapWalker, self).default(node)
|
||||
|
||||
def deparse_code_with_map(*args, **kwargs):
|
||||
def deparse_code_with_map(*args, first_line=0, **kwargs):
|
||||
"""
|
||||
Like deparse_code but saves line number correspondences.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user