summaryrefslogtreecommitdiff
path: root/numpy/lib/arrayterator.py
diff options
context:
space:
mode:
authorJaime <jaime.frio@gmail.com>2015-12-20 07:35:41 +0100
committerJaime <jaime.frio@gmail.com>2015-12-20 07:35:41 +0100
commit144c34b8ecd051e05a93c6268290eadb1827afb0 (patch)
treec8a1a549e5a093a9433fe9a50a6e0e8bb5358ab1 /numpy/lib/arrayterator.py
parente2bdaccba1a8691f9223b059b981b2890bb13b09 (diff)
parent8bc592fabf4a2b0bc76db996b1523330ba095be3 (diff)
downloadnumpy-144c34b8ecd051e05a93c6268290eadb1827afb0.tar.gz
Merge pull request #6867 from gfyoung/print_fixes
DOC: No Print Statements When Using print_function from __future__
Diffstat (limited to 'numpy/lib/arrayterator.py')
-rw-r--r--numpy/lib/arrayterator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/arrayterator.py b/numpy/lib/arrayterator.py
index 80b369bd5..fb52ada86 100644
--- a/numpy/lib/arrayterator.py
+++ b/numpy/lib/arrayterator.py
@@ -80,7 +80,7 @@ class Arrayterator(object):
>>> for subarr in a_itor:
... if not subarr.all():
- ... print subarr, subarr.shape
+ ... print(subarr, subarr.shape)
...
[[[[0 1]]]] (1, 1, 1, 2)
@@ -158,7 +158,7 @@ class Arrayterator(object):
>>> for subarr in a_itor.flat:
... if not subarr:
- ... print subarr, type(subarr)
+ ... print(subarr, type(subarr))
...
0 <type 'numpy.int32'>