You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Bug in collection printing ...
`"%s" % value` can fail if value is a tuple
This commit is contained in:
@@ -272,7 +272,7 @@ class NonterminalActions:
|
||||
if self.version < (3, 0, 0):
|
||||
value = "%r" % elem.pattr
|
||||
else:
|
||||
value = "%s" % elem.pattr
|
||||
value = "%s" % str(elem.pattr)
|
||||
else:
|
||||
assert elem.kind == "ADD_VALUE_VAR"
|
||||
value = "%s" % elem.pattr
|
||||
|
Reference in New Issue
Block a user