diff options
author | njsmith <njs@pobox.com> | 2013-04-06 14:14:28 -0700 |
---|---|---|
committer | njsmith <njs@pobox.com> | 2013-04-06 14:14:28 -0700 |
commit | 3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd (patch) | |
tree | 889782afaf67fd5acb5f222969251871c0c46e5a /numpy/numarray/session.py | |
parent | 7441fa50523f5b4a16c854bf004d675e5bd86ab8 (diff) | |
parent | bb726ca19f434f5055c0efceefe48d89469fcbbe (diff) | |
download | numpy-3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd.tar.gz |
Merge pull request #3203 from charris/2to3-apply-print-fixer
2to3: Apply `print` fixer.
Diffstat (limited to 'numpy/numarray/session.py')
-rw-r--r-- | numpy/numarray/session.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/numarray/session.py b/numpy/numarray/session.py index 32a28cca0..818c57bc8 100644 --- a/numpy/numarray/session.py +++ b/numpy/numarray/session.py @@ -72,7 +72,7 @@ Saved modules are re-imported at load time but any "state" in the module which is not restored by a simple import is lost. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function __all__ = ['load', 'save'] @@ -126,8 +126,8 @@ def _callers_modules(): def _errout(*args): for a in args: - print >>sys.stderr, a, - print >>sys.stderr + print(a, end=' ', file=sys.stderr) + print(file=sys.stderr) def _verbose(*args): if VERBOSE: |