summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-08-17 10:52:33 +0200
committerStefan Behnel <stefan_ml@behnel.de>2014-08-17 10:52:33 +0200
commit7a7821a9c50535de0a7e990348dec3d82efd96c4 (patch)
tree7e4075f07005c906c4c4d3e0f9e489fecaa8400d
parentc96c7effea9fa53433570d4b2f6431592bcab379 (diff)
downloadcython-7a7821a9c50535de0a7e990348dec3d82efd96c4.tar.gz
wrap long lines
-rw-r--r--Cython/Compiler/ParseTreeTransforms.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py
index 88107b0b0..7ebec5472 100644
--- a/Cython/Compiler/ParseTreeTransforms.py
+++ b/Cython/Compiler/ParseTreeTransforms.py
@@ -2679,12 +2679,14 @@ class TransformBuiltinMethods(EnvTransform):
if len(node.args) != 1:
error(node.function.pos, u"%s() takes exactly one argument" % function)
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:
if len(node.args) != 2:
error(node.function.pos, u"%s() takes exactly two arguments" % function)
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':
if len(node.args) != 2:
error(node.function.pos, u"cast() takes exactly two arguments")