You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Merge branch 'python-3.0-to-3.2' into python-2.4-to-2.7
This commit is contained in:
@@ -1494,7 +1494,7 @@ class FragmentsWalker(pysource.SourceWalker, object):
|
||||
# as a custom rule
|
||||
start = len(self.f.getvalue())
|
||||
n = len(node) - 1
|
||||
|
||||
j = 0
|
||||
if node.kind != "expr":
|
||||
if node == "kwarg":
|
||||
self.template_engine(("(%[0]{attr}=%c)", 1), node)
|
||||
@@ -1924,7 +1924,7 @@ class FragmentsWalker(pysource.SourceWalker, object):
|
||||
else:
|
||||
assert (
|
||||
node[tup[0]] in tup[1],
|
||||
c ), "at %s[%d], expected '%s' node; got '%s'" % (
|
||||
), "at %s[%d], expected '%s' node; got '%s'" % (
|
||||
tup[0].kind,
|
||||
tup[1],
|
||||
node[tup[0]].kind,
|
||||
|
Reference in New Issue
Block a user