[Numpy-svn] r2810 - in trunk/numpy/core: . src
numpy-svn at scipy.org
numpy-svn at scipy.org
Wed Jul 12 04:50:55 EDT 2006
Author: oliphant
Date: 2006-07-12 03:50:53 -0500 (Wed, 12 Jul 2006)
New Revision: 2810
Modified:
trunk/numpy/core/fromnumeric.py
trunk/numpy/core/src/arraymethods.c
Log:
Fix docstrings.
Modified: trunk/numpy/core/fromnumeric.py
===================================================================
--- trunk/numpy/core/fromnumeric.py 2006-07-12 08:36:01 UTC (rev 2809)
+++ trunk/numpy/core/fromnumeric.py 2006-07-12 08:50:53 UTC (rev 2810)
@@ -134,7 +134,7 @@
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
Modified: trunk/numpy/core/src/arraymethods.c
===================================================================
--- trunk/numpy/core/src/arraymethods.c 2006-07-12 08:36:01 UTC (rev 2809)
+++ trunk/numpy/core/src/arraymethods.c 2006-07-12 08:50:53 UTC (rev 2810)
@@ -1193,13 +1193,13 @@
" [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 *
More information about the Numpy-svn
mailing list