[Numpy-svn] r5091 - trunk/numpy/core

numpy-svn@scip... numpy-svn@scip...
Sat Apr 26 10:34:45 CDT 2008


Author: ptvirtan
Date: 2008-04-26 10:34:37 -0500 (Sat, 26 Apr 2008)
New Revision: 5091

Modified:
   trunk/numpy/core/fromnumeric.py
Log:
Docstrings in fromnumeric: very small fixes.


Modified: trunk/numpy/core/fromnumeric.py
===================================================================
--- trunk/numpy/core/fromnumeric.py	2008-04-26 15:30:04 UTC (rev 5090)
+++ trunk/numpy/core/fromnumeric.py	2008-04-26 15:34:37 UTC (rev 5091)
@@ -892,7 +892,7 @@
 
     Parameters
     ----------
-    a : {array_type}
+    a : {array_like}
         Array containing elements to clip.
     a_min
         Minimum value
@@ -901,7 +901,7 @@
 
     Returns
     -------
-    sum_along_axis : {array}
+    clipped_array : {array}
         A new array whose elements are same as for a, but values
         < a_min are replaced with a_min, and > a_max with a_max.
     
@@ -1115,7 +1115,7 @@
     a : {array_like}
     axis : {None, integer}
         Axis to perform the operation over.
-        If None, perform over flattened array.
+        If None, perform over flattened array and return a scalar.
     out : {None, array}, optional
         Array into which the product can be placed. Its type is preserved
         and it must be of the right shape to hold the output.



More information about the Numpy-svn mailing list