summaryrefslogtreecommitdiff
path: root/numpy/f2py/f90mod_rules.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2006-03-10 21:31:27 +0000
committercookedm <cookedm@localhost>2006-03-10 21:31:27 +0000
commitbf57380caa818b73a4c41409de6ff260425f9bb6 (patch)
treeb2c42e0fde172de5def0c91811845808c00e296e /numpy/f2py/f90mod_rules.py
parentf2db317c1fad63f1c85944ba8443b465e32774dc (diff)
downloadnumpy-bf57380caa818b73a4c41409de6ff260425f9bb6.tar.gz
Run reindent.py (script distributed with Python) over the source to remove extraneous whitespace
Diffstat (limited to 'numpy/f2py/f90mod_rules.py')
-rw-r--r--numpy/f2py/f90mod_rules.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/numpy/f2py/f90mod_rules.py b/numpy/f2py/f90mod_rules.py
index f345e67ed..aaedde1b2 100644
--- a/numpy/f2py/f90mod_rules.py
+++ b/numpy/f2py/f90mod_rules.py
@@ -4,7 +4,7 @@
Build F90 module support for f2py2e.
Copyright 2000 Pearu Peterson all rights reserved,
-Pearu Peterson <pearu@ioc.ee>
+Pearu Peterson <pearu@ioc.ee>
Permission to use, modify, and distribute this software is given under the
terms of the NumPy License.
@@ -52,8 +52,8 @@ fgetdims1 = """\
ns = .TRUE.
end if
end do
- if (ns) then
- deallocate(d)
+ if (ns) then
+ deallocate(d)
end if
end if
if ((.not.allocated(d)).and.(s(1).ge.1)) then"""
@@ -225,7 +225,7 @@ def buildhooks(pymod):
fadd('end subroutine f2pyinit%s\n'%(m['name']))
dadd(string.replace(string.join(ret['latexdoc'],'\n'),r'\subsection{',r'\subsubsection{'))
-
+
ret['latexdoc']=[]
ret['docs'].append('"\t%s --- %s"'%(m['name'],
string.join(undo_rmbadname(modobjs),',')))
@@ -236,5 +236,3 @@ def buildhooks(pymod):
ret['latexdoc']=doc[0]
if len(ret['docs'])<=1: ret['docs']=''
return ret,fhooks[0]
-
-