summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/fromnumeric.py2
-rw-r--r--numpy/core/src/arraymethods.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index ae23d3cbf..bfd8a1e0d 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -134,7 +134,7 @@ def sort(a, axis=-1):
def argsort(a, axis=-1):
"""argsort(a,axis=-1) return the indices into a of the sorted array
- along the given axis, so that take(a,result,axis) is the sorted array.
+ along the given axis.
"""
try:
argsort = a.argsort
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index a4fcc0f47..93a133c40 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -1193,13 +1193,13 @@ static char doc_transpose[] = "a.transpose(*axes)\n\n"
" [3, 4]])\n"
">>> a.transpose()\n"
"array([[1, 3],\n"
-" [3, 4]])\n"
+" [2, 4]])\n"
">>> a.transpose((1,0))\n"
"array([[1, 3],\n"
-" [3, 4]])\n"
+" [2, 4]])\n"
">>> a.transpose(1,0)\n"
"array([[1, 3],\n"
-" [3, 4]])\n"
+" [2, 4]])\n"
;
static PyObject *