You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
dictcomp_func -> dict_comp_func...
to match AST better. Also adds a correction in last commit, including set_comp -> set_comp_expr where apprpriate Note: can't use dict_comp as that was already used. But dict_comp_func is matches AST better than dictcomp_func
This commit is contained in:
@@ -849,7 +849,7 @@ class FragmentsWalker(pysource.SourceWalker, object):
|
||||
self.set_pos_info(node, start, len(self.f.getvalue()))
|
||||
self.prune()
|
||||
|
||||
def n_set_comp(self, node):
|
||||
def n_set_comp_expr(self, node):
|
||||
start = len(self.f.getvalue())
|
||||
self.write('{')
|
||||
if node[0] in ['LOAD_SETCOMP', 'LOAD_DICTCOMP']:
|
||||
|
Reference in New Issue
Block a user