You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Go over "yield" and other precedence
This commit is contained in:
@@ -264,7 +264,11 @@ def customize_for_version37(self, version):
|
||||
and opname == "CALL_FUNCTION_1"
|
||||
or not re.match("\d", opname[-1])
|
||||
):
|
||||
self.template_engine(("%c(%c)", (0, "expr"), 1), node)
|
||||
self.template_engine(
|
||||
("%c(%p)",
|
||||
(0, "expr"),
|
||||
(1, PRECEDENCE["yield"]-1)),
|
||||
node)
|
||||
self.prec = p
|
||||
self.prune()
|
||||
else:
|
||||
|
Reference in New Issue
Block a user