summaryrefslogtreecommitdiff
path: root/numpy/f2py/f90mod_rules.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-06 13:25:26 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-06 13:25:26 -0600
commitbb726ca19f434f5055c0efceefe48d89469fcbbe (patch)
tree889782afaf67fd5acb5f222969251871c0c46e5a /numpy/f2py/f90mod_rules.py
parent7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff)
downloadnumpy-bb726ca19f434f5055c0efceefe48d89469fcbbe.tar.gz
2to3: Apply `print` fixer.
Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
Diffstat (limited to 'numpy/f2py/f90mod_rules.py')
-rw-r--r--numpy/f2py/f90mod_rules.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/f90mod_rules.py b/numpy/f2py/f90mod_rules.py
index bc571371b..c251b2340 100644
--- a/numpy/f2py/f90mod_rules.py
+++ b/numpy/f2py/f90mod_rules.py
@@ -13,7 +13,7 @@ $Date: 2005/02/03 19:30:23 $
Pearu Peterson
"""
-from __future__ import division, absolute_import
+from __future__ import division, absolute_import, print_function
__version__ = "$Revision: 1.27 $"[10:-1]
@@ -171,7 +171,7 @@ def buildhooks(pymod):
if hasbody(m):
for b in m['body']:
if not isroutine(b):
- print 'Skipping',b['block'],b['name']
+ print('Skipping',b['block'],b['name'])
continue
modobjs.append('%s()'%(b['name']))
b['modulename'] = m['name']