diff options
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: |