diff options
-rwxr-xr-x | numpy/f2py/f2py2e.py | 2 | ||||
-rw-r--r-- | numpy/f2py/lib/parser/doc.txt | 2 |
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')) |