diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2005-12-06 11:35:08 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2005-12-06 11:35:08 +0000 |
commit | 0e8e24c1974be222f012d17db2e3549e382acb3e (patch) | |
tree | fa5db2ef0cf3b8c980975afecb8459560b092ec8 /scipy/base/code_generators/genapi.py | |
parent | 4d39b108c1eaaa9fbfa64770f2d17d9164263b08 (diff) | |
download | numpy-0e8e24c1974be222f012d17db2e3549e382acb3e.tar.gz |
Fixed syntax errors.
Diffstat (limited to 'scipy/base/code_generators/genapi.py')
-rw-r--r-- | scipy/base/code_generators/genapi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy/base/code_generators/genapi.py b/scipy/base/code_generators/genapi.py index f185cd9bc..b70aa7a14 100644 --- a/scipy/base/code_generators/genapi.py +++ b/scipy/base/code_generators/genapi.py @@ -30,11 +30,11 @@ class Function(object): def argtypes_string(self): if not self.args: return 'void' - argstr = ', '.join(a[0] for a in self.args) + argstr = ', '.join([a[0] for a in self.args]) return argstr def __str__(self): - argstr = ', '.join(self._format_arg(a) for a in self.args) + argstr = ', '.join([self._format_arg(a) for a in self.args]) if self.doc: doccomment = '/* %s */\n' % self.doc else: |