projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390ed7b
)
code simplification
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 6 Mar 2010 16:16:15 +0000
(17:16 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 6 Mar 2010 16:16:15 +0000
(17:16 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index c80b0c0f7d2b78c6e47d9f02eafb3124f5520668..dab0d0829eeed7ca40c018bedbf72d55ac8d8498 100644
(file)
--- 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))