small tweak to last change

This commit is contained in:
rocky
2020-01-14 13:03:24 -05:00
parent bb8c5ac5a0
commit e2cbf5f4bd

View File

@@ -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()