Commit 7a7821a9 authored by Stefan Behnel's avatar Stefan Behnel

wrap long lines

parent c96c7eff
...@@ -2679,12 +2679,14 @@ class TransformBuiltinMethods(EnvTransform): ...@@ -2679,12 +2679,14 @@ class TransformBuiltinMethods(EnvTransform):
if len(node.args) != 1: if len(node.args) != 1:
error(node.function.pos, u"%s() takes exactly one argument" % function) error(node.function.pos, u"%s() takes exactly one argument" % function)
else: else:
node = InterpretCompilerDirectives.unop_method_nodes[function](node.function.pos, operand=node.args[0]) node = InterpretCompilerDirectives.unop_method_nodes[function](
node.function.pos, operand=node.args[0])
elif function in InterpretCompilerDirectives.binop_method_nodes: elif function in InterpretCompilerDirectives.binop_method_nodes:
if len(node.args) != 2: if len(node.args) != 2:
error(node.function.pos, u"%s() takes exactly two arguments" % function) error(node.function.pos, u"%s() takes exactly two arguments" % function)
else: else:
node = InterpretCompilerDirectives.binop_method_nodes[function](node.function.pos, operand1=node.args[0], operand2=node.args[1]) node = InterpretCompilerDirectives.binop_method_nodes[function](
node.function.pos, operand1=node.args[0], operand2=node.args[1])
elif function == u'cast': elif function == u'cast':
if len(node.args) != 2: if len(node.args) != 2:
error(node.function.pos, u"cast() takes exactly two arguments") error(node.function.pos, u"cast() takes exactly two arguments")
......
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