summaryrefslogtreecommitdiff
path: root/numpy/f2py/rules.py
diff options
context:
space:
mode:
authorRohit Goswami <r95g10@gmail.com>2021-09-29 21:15:52 +0000
committerRohit Goswami <rog32@hi.is>2021-09-30 19:11:10 +0000
commit9492206648befbf6a665f310f4ba1a69e25862ca (patch)
tree9bec2494e3c8557ba5c4d19c529596301e74a750 /numpy/f2py/rules.py
parent85ce7a20b243555e9672b9d9e4cc0c7d7e6e0f2e (diff)
downloadnumpy-9492206648befbf6a665f310f4ba1a69e25862ca.tar.gz
MAINT: Reviewer comments
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
Diffstat (limited to 'numpy/f2py/rules.py')
-rwxr-xr-xnumpy/f2py/rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py
index f292121b5..242271b70 100755
--- a/numpy/f2py/rules.py
+++ b/numpy/f2py/rules.py
@@ -1276,7 +1276,7 @@ def buildmodule(m, um):
fn = os.path.join(options['buildpath'], vrd['coutput'])
ret['csrc'] = fn
with open(fn, 'w') as f:
- f.write(ar['modulebody'].replace(' ', 2 * ' '))
+ f.write(ar['modulebody'].replace('\t', 2 * ' '))
outmess(' Wrote C/API module "%s" to file "%s"\n' % (m['name'], fn))
if options['dorestdoc']: