You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Adjust showtree() calls
This commit is contained in:
@@ -1103,7 +1103,7 @@ class FragmentsWalker(pysource.SourceWalker, object):
|
||||
self.p.insts = p_insts
|
||||
except (parser.ParserError, AssertionError) as e:
|
||||
raise ParserError(e, tokens)
|
||||
maybe_show_tree(self.showast, ast)
|
||||
maybe_show_tree(self, ast)
|
||||
return ast
|
||||
|
||||
# The bytecode for the end of the main routine has a
|
||||
@@ -1142,7 +1142,7 @@ class FragmentsWalker(pysource.SourceWalker, object):
|
||||
except (parser.ParserError, AssertionError) as e:
|
||||
raise ParserError(e, tokens)
|
||||
|
||||
maybe_show_tree(self.showast, ast)
|
||||
maybe_show_tree(self, ast)
|
||||
|
||||
checker(ast, False, self.ast_errors)
|
||||
|
||||
|
Reference in New Issue
Block a user