From 6a0074dcc1ad9e71085f10520e926eccc74052e8 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Mon, 14 May 2007 10:35:03 +0000 Subject: Fix f2py command line doc. --- numpy/f2py/f2py2e.py | 2 +- numpy/f2py/lib/parser/doc.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'numpy/f2py') 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 (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(, ..) 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')) -- cgit v1.2.1