summaryrefslogtreecommitdiff
path: root/numpy/core/machar.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/core/machar.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/core/machar.py')
-rw-r--r--numpy/core/machar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/machar.py b/numpy/core/machar.py
index 1053570f8..85eb6b625 100644
--- a/numpy/core/machar.py
+++ b/numpy/core/machar.py
@@ -5,7 +5,7 @@ floating-point arithmetic system
Author: Pearu Peterson, September 2003
"""
-from __future__ import division, absolute_import
+from __future__ import division, absolute_import, print_function
__all__ = ['MachAr']
@@ -338,4 +338,4 @@ maxexp=%(maxexp)s xmax=%(_str_xmax)s ((1-epsneg)*beta**maxexp == huge)
if __name__ == '__main__':
- print MachAr()
+ print(MachAr())