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
This commit is contained in:
@@ -1903,9 +1903,13 @@ class FragmentsWalker(pysource.SourceWalker, object):
|
|||||||
node[index].kind,
|
node[index].kind,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
assert node[tup[0]] in tup[1], (
|
assert (
|
||||||
f"at {node.kind}[{tup[0]}], expected to be in '{tup[1]}' "
|
node[tup[0]] in tup[1]
|
||||||
f"node; got '{node[tup[0]].kind}'"
|
), "at %s[%d], expected to be in '%s' node; got '%s'" % (
|
||||||
|
node.kind,
|
||||||
|
tup[0],
|
||||||
|
tup[1],
|
||||||
|
node[tup[0].kind],
|
||||||
)
|
)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user