Commit a7f25584 authored by Stefan Behnel's avatar Stefan Behnel

minor safety fix

parent 226d33d2
...@@ -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
else: 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