From 94bc330296e01d8fc0cb14aba1354ddb6d8587cc Mon Sep 17 00:00:00 2001 From: Alan McIntyre Date: Thu, 3 Jul 2008 03:51:46 +0000 Subject: Use the implicit "import numpy as np" made available to all doctests instead of an explicit import. Remove ">>>" from bartlett plotting example since it currently requires matplotlib. --- numpy/lib/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'numpy/lib/utils.py') diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py index 3f7d22092..8a119722b 100644 --- a/numpy/lib/utils.py +++ b/numpy/lib/utils.py @@ -316,8 +316,7 @@ def info(object=None,maxwidth=76,output=sys.stdout,toplevel='numpy'): """Get help information for a function, class, or module. Example: - >>> from numpy import * - >>> info(polyval) # doctest: +SKIP + >>> np.info(np.polyval) # doctest: +SKIP polyval(p, x) -- cgit v1.2.1