Skip to content

Commit

Permalink
MAINT: Make numpy/f2py/crackfortran docstring read better.
Browse files Browse the repository at this point in the history
The copyright and short summary were moved to the top of the
docstring with the usage description below.
  • Loading branch information
charris committed Mar 1, 2013
1 parent 6aa264c commit cabc07e
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions 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>
Expand Down Expand Up @@ -125,19 +137,6 @@
-> '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

Expand Down

0 comments on commit cabc07e

Please sign in to comment.