8000 MAINT: Make numpy/f2py/crackfortran docstring read better. · numpy/numpy@cabc07e · GitHub
[go: up one dir, main page]

Skip to content

Commit cabc07e

Browse files
committed
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.
1 parent 6aa264c commit cabc07e

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

numpy/f2py/crackfortran.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
#!/usr/bin/env python
22
"""
3+
crackfortran --- read fortran (77,90) code and extract declaration information.
4+
5+
Copyright 1999-2004 Pearu Peterson all rights reserved,
6+
Pearu Peterson <pearu@ioc.ee>
7+
Permission to use, modify, and distribute this software is given under the
8+
terms of the NumPy License.
9+
10+
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
11+
$Date: 2005/09/27 07:13:49 $
12+
Pearu Peterson
13+
14+
315
Usage of crackfortran:
416
======================
517
Command line keys: -quiet,-verbose,-fix,-f77,-f90,-show,-h <pyffilename>
@@ -125,19 +137,6 @@
125137
-> 'real x(2)')
126138
The above may be solved by creating appropriate preprocessor program, for example.
127139
128-
crackfortran --- read fortran (77,90) code and extract declaration information.
129-
Usage is explained in the comment block below.
130-
131-
132-
Copyright 1999-2004 Pearu Peterson all rights reserved,
133-
Pearu Peterson <pearu@ioc.ee>
134-
Permission to use, modify, and distribute this software is given under the
135-
terms of the NumPy License.
136-
137-
NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
138-
$Date: 2005/09/27 07:13:49 $
139-
Pearu Peterson
140-
141140
"""
142141
from __future__ import division
143142

0 commit comments

Comments
 (0)
0