summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2005-12-06 11:35:08 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2005-12-06 11:35:08 +0000
commit0e8e24c1974be222f012d17db2e3549e382acb3e (patch)
treefa5db2ef0cf3b8c980975afecb8459560b092ec8
parent4d39b108c1eaaa9fbfa64770f2d17d9164263b08 (diff)
downloadnumpy-0e8e24c1974be222f012d17db2e3549e382acb3e.tar.gz
Fixed syntax errors.
-rw-r--r--scipy/base/code_generators/genapi.py4
-rw-r--r--scipy/base/records.py4
-rw-r--r--scipy/f2py/docs/FAQ.txt3
3 files changed, 7 insertions, 4 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:
diff --git a/scipy/base/records.py b/scipy/base/records.py
index f4e29f238..4f02238bc 100644
--- a/scipy/base/records.py
+++ b/scipy/base/records.py
@@ -258,5 +258,5 @@ class ndrecarray(sb.ndarray):
return self._fields[field_name]
def setfield(self, field_name, val):
-
-
+ pass
+
diff --git a/scipy/f2py/docs/FAQ.txt b/scipy/f2py/docs/FAQ.txt
index 580770185..e2ed79445 100644
--- a/scipy/f2py/docs/FAQ.txt
+++ b/scipy/f2py/docs/FAQ.txt
@@ -565,6 +565,9 @@ Q: What people think about F2PY?
Here are some comments people have posted to f2py mailing list and c.l.py:
++ Ryan Krauss: I really appreciate f2py. It seems weird to say, but I
+ am excited about relearning FORTRAN to compliment my python stuff.
+
+ Fabien Wahl: f2py is great, and is used extensively over here...
+ Fernando Perez: Anyway, many many thanks for this amazing tool.