summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-02-28 08:11:02 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-03-01 11:22:48 -0700
commitcabc07e185a0ffad5f8055760b385aa5cca85896 (patch)
tree9dfc65fde70b9a9b6c5f6bae048381fd72a0cd60
parent6aa264c4bad9c89ccdd9ecd5a1cb5ef10643ec51 (diff)
downloadnumpy-cabc07e185a0ffad5f8055760b385aa5cca85896.tar.gz
MAINT: Make numpy/f2py/crackfortran docstring read better.
The copyright and short summary were moved to the top of the docstring with the usage description below.
-rwxr-xr-xnumpy/f2py/crackfortran.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py
index 1ac08d9a5..76e113a67 100755
--- a/numpy/f2py/crackfortran.py
+++ b/numpy/f2py/crackfortran.py
@@ -1,5 +1,17 @@
#!/usr/bin/env python
"""
+crackfortran --- read fortran (77,90) code and extract declaration information.
+
+Copyright 1999-2004 Pearu Peterson all rights reserved,
+Pearu Peterson <pearu@ioc.ee>
+Permission to use, modify, and distribute this software is given under the
+terms of the NumPy License.
+
+NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
+$Date: 2005/09/27 07:13:49 $
+Pearu Peterson
+
+
Usage of crackfortran:
======================
Command line keys: -quiet,-verbose,-fix,-f77,-f90,-show,-h <pyffilename>
@@ -125,19 +137,6 @@ TODO:
-> 'real x(2)')
The above may be solved by creating appropriate preprocessor program, for example.
-crackfortran --- read fortran (77,90) code and extract declaration information.
- Usage is explained in the comment block below.
-
-
-Copyright 1999-2004 Pearu Peterson all rights reserved,
-Pearu Peterson <pearu@ioc.ee>
-Permission to use, modify, and distribute this software is given under the
-terms of the NumPy License.
-
-NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
-$Date: 2005/09/27 07:13:49 $
-Pearu Peterson
-
"""
from __future__ import division