diff options
author | Bharat123rox <bharatraghunthan9767@gmail.com> | 2019-05-08 10:46:32 +0530 |
---|---|---|
committer | Bharat123rox <bharatraghunthan9767@gmail.com> | 2019-05-08 10:46:32 +0530 |
commit | dcb2ecfb1ac05761a52671bc4179b120da7fe8e9 (patch) | |
tree | b74d080e79ab843d5c0d9ae8e592a177eca2cc9c /numpy/f2py/rules.py | |
parent | 38025696d7f268b47d81e215bcf33c50ca1c98c1 (diff) | |
download | numpy-dcb2ecfb1ac05761a52671bc4179b120da7fe8e9.tar.gz |
Fixed possible regressions
Diffstat (limited to 'numpy/f2py/rules.py')
-rw-r--r-- | numpy/f2py/rules.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py index 11f36cc32..6769f1b1f 100644 --- a/numpy/f2py/rules.py +++ b/numpy/f2py/rules.py @@ -1274,12 +1274,12 @@ def buildmodule(m, um): options['buildpath'], vrd['modulename'] + 'module.tex') ret['ltx'] = fn with open(fn, 'w') as f: - f.write( + f.write( '%% This file is auto-generated with f2py (version:%s)\n' % (f2py_version)) if 'shortlatex' not in options: f.write( '\\documentclass{article}\n\\usepackage{a4wide}\n\\begin{document}\n\\tableofcontents\n\n') - f.write('\n'.join(ar['latexdoc'])) + f.write('\n'.join(ar['latexdoc'])) if 'shortlatex' not in options: f.write('\\end{document}') outmess('\tDocumentation is saved to file "%s/%smodule.tex"\n' % |