You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Add "transfrormd_by" param to SyntaxTree
This aligns code more with decompyle3
This commit is contained in:
@@ -6,9 +6,9 @@ intern = sys.intern
|
||||
|
||||
|
||||
class SyntaxTree(spark_AST):
|
||||
def __init__(self, *args, **kwargs):
|
||||
def __init__(self, *args, transformed_by=None, **kwargs):
|
||||
self.transformed_by = transformed_by
|
||||
super(SyntaxTree, self).__init__(*args, **kwargs)
|
||||
self.transformed_by = None
|
||||
|
||||
def isNone(self):
|
||||
"""An SyntaxTree None token. We can't use regular list comparisons
|
||||
|
Reference in New Issue
Block a user