summaryrefslogtreecommitdiff
path: root/numpy/core/shape_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/shape_base.py')
-rw-r--r--numpy/core/shape_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py
index 0dd2e164a..599b48d82 100644
--- a/numpy/core/shape_base.py
+++ b/numpy/core/shape_base.py
@@ -150,7 +150,7 @@ def atleast_3d(*arys):
True
>>> for arr in np.atleast_3d([1, 2], [[1, 2]], [[[1, 2]]]):
- ... print arr, arr.shape
+ ... print(arr, arr.shape)
...
[[[1]
[2]]] (1, 2, 1)