You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 16:59:52 +08:00
3.7+ imports yet again
This commit is contained in:
@@ -1893,6 +1893,11 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
self.prune()
|
||||
return
|
||||
|
||||
if node[0] == "UNPACK_SEQUENCE_0":
|
||||
self.write("[]")
|
||||
self.prune()
|
||||
return
|
||||
|
||||
for n in node[1:]:
|
||||
if n[0].kind == "unpack":
|
||||
n[0].kind = "unpack_w_parens"
|
||||
|
Reference in New Issue
Block a user