summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/fromnumeric.py2
-rw-r--r--numpy/core/numeric.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 8a56a6e1f..84fdab7cc 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -471,7 +471,7 @@ def swapaxes(a, axis1, axis2):
Returns
-------
a_swapped : ndarray
- For NumPy >= 1.10, if `a` is an ndarray, then a view of `a` is
+ For NumPy >= 1.10.0, if `a` is an ndarray, then a view of `a` is
returned; otherwise a new array is created. For earlier NumPy
versions a view of `a` is returned only if the order of the
axes is changed, otherwise the input array is returned.
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index ba99a1e42..ad2dcc291 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -1505,7 +1505,7 @@ def rollaxis(a, axis, start=0):
Returns
-------
res : ndarray
- For NumPy >= 1.10 a view of `a` is always returned. For earlier
+ For NumPy >= 1.10.0 a view of `a` is always returned. For earlier
NumPy versions a view of `a` is returned only if the order of the
axes is changed, otherwise the input array is returned.