[Numpy-svn] r4793 - trunk/numpy/lib

numpy-svn@scip... numpy-svn@scip...
Tue Feb 12 20:27:01 CST 2008


Author: matthew.brett@gmail.com
Date: 2008-02-12 20:26:58 -0600 (Tue, 12 Feb 2008)
New Revision: 4793

Modified:
   trunk/numpy/lib/function_base.py
Log:
Fix, uncomment import in median doctest

Modified: trunk/numpy/lib/function_base.py
===================================================================
--- trunk/numpy/lib/function_base.py	2008-02-13 02:16:05 UTC (rev 4792)
+++ trunk/numpy/lib/function_base.py	2008-02-13 02:26:58 UTC (rev 4793)
@@ -1245,7 +1245,7 @@
     Examples
     --------
     >>> import numpy as np
-    >>> # import numpy median as median
+    >>> from numpy import median
     >>> a = np.array([[10, 7, 4], [3, 2, 1]])
     >>> a
     array([[10,  7,  4],



More information about the Numpy-svn mailing list