From e98509f35bec24269da2275b3d556bce3b885eff Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 6 Mar 2010 17:16:15 +0100 Subject: [PATCH] code simplification --- Cython/Compiler/Nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index c80b0c0f..dab0d082 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -2441,7 +2441,7 @@ class DefNode(FuncDefNode): # it looks funny to separate the init-to-0 from setting the # default value, but C89 needs this code.putln("PyObject* values[%d] = {%s};" % ( - max_args, ','.join(['0']*max_args))) + max_args, ','.join('0'*max_args))) for i, default_value in default_args: code.putln('values[%d] = %s;' % (i, default_value)) -- 2.26.2