summaryrefslogtreecommitdiff
path: root/numpy/f2py/auxfuncs.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-02-20 18:14:11 +0000
committerPauli Virtanen <pav@iki.fi>2010-02-20 18:14:11 +0000
commitc3c6b10be50eefeb78aa71cdb7367d48021699e7 (patch)
treeb7ae92232c864505e7f2bea918cb5195bf52b42a /numpy/f2py/auxfuncs.py
parent10985dc3458acd9d3286988dec1a27ece5cac25d (diff)
downloadnumpy-c3c6b10be50eefeb78aa71cdb7367d48021699e7.tar.gz
3K: f2py: use integer division to avoid problems with string multiplication
Diffstat (limited to 'numpy/f2py/auxfuncs.py')
-rw-r--r--numpy/f2py/auxfuncs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/auxfuncs.py b/numpy/f2py/auxfuncs.py
index 18eea6520..fe037f065 100644
--- a/numpy/f2py/auxfuncs.py
+++ b/numpy/f2py/auxfuncs.py
@@ -575,7 +575,7 @@ def getrestdoc(rout):
return rout['f2pymultilines'].get(k,None)
def gentitle(name):
- l=(80-len(name)-6)/2
+ l=(80-len(name)-6)//2
return '/*%s %s %s*/'%(l*'*',name,l*'*')
def flatlist(l):