You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
small tweak to last change
This commit is contained in:
@@ -237,7 +237,11 @@ def customize_for_version37(self, version):
|
||||
self.template_engine(template, node)
|
||||
self.prec = p
|
||||
self.prune()
|
||||
elif opname.startswith("CALL_FUNCTION_1") and not re.match("\d", opname[-1]):
|
||||
elif (
|
||||
opname.startswith("CALL_FUNCTION_1")
|
||||
and opname == "CALL_FUNCTION_1"
|
||||
or not re.match("\d", opname[-1])
|
||||
):
|
||||
self.template_engine(("%c(%c)", (0, "expr"), 1), node)
|
||||
self.prec = p
|
||||
self.prune()
|
||||
|
Reference in New Issue
Block a user