Commit 5e97dbcb authored by Stefan Behnel's avatar Stefan Behnel

fix 1-arg min/max case

parent 0a2e03f9
...@@ -1723,7 +1723,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform): ...@@ -1723,7 +1723,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
if len(args) <= 1: if len(args) <= 1:
if len(args) == 1 and args[0].is_sequence_constructor: if len(args) == 1 and args[0].is_sequence_constructor:
args = args[0].args args = args[0].args
if len(args) < 1: if len(args) <= 1:
# leave this to Python # leave this to Python
return node return node
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment