summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-05-14 10:35:03 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-05-14 10:35:03 +0000
commit6a0074dcc1ad9e71085f10520e926eccc74052e8 (patch)
treec71a80515113805dd9b7620e881f1ff40bba571a
parent72f78a7db68606ff9515f87e3321ac490580bd06 (diff)
downloadnumpy-6a0074dcc1ad9e71085f10520e926eccc74052e8.tar.gz
Fix f2py command line doc.
-rwxr-xr-xnumpy/f2py/f2py2e.py2
-rw-r--r--numpy/f2py/lib/parser/doc.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/numpy/f2py/f2py2e.py b/numpy/f2py/f2py2e.py
index 61fd34dbd..24987cb1a 100755
--- a/numpy/f2py/f2py2e.py
+++ b/numpy/f2py/f2py2e.py
@@ -64,7 +64,7 @@ Description: This program generates a Python C/API file (<modulename>module.c)
Options:
- --3g-numpy Use numpy.f2py.lib tool, the 3rd generation of F2PY,
+ --g3-numpy Use numpy.f2py.lib tool, the 3rd generation of F2PY,
with NumPy support.
--2d-numpy Use numpy.f2py tool with NumPy support. [DEFAULT]
--2d-numeric Use f2py2e tool with Numeric support.
diff --git a/numpy/f2py/lib/parser/doc.txt b/numpy/f2py/lib/parser/doc.txt
index 23afbb0bd..0d20bf73f 100644
--- a/numpy/f2py/lib/parser/doc.txt
+++ b/numpy/f2py/lib/parser/doc.txt
@@ -19,6 +19,7 @@ Function parse(<input>, ..) parses, analyzes and returns Statement
tree of Fortran input. For example,
::
+
>>> from api import parse
>>> code = """
... c comment
@@ -74,6 +75,7 @@ well as detects if Fortran file is in free or fixed format.
For example,
::
+
>>> from readfortran import *
>>> import os
>>> reader = FortranFileReader(os.path.expanduser('~/src/blas/daxpy.f'))