From 008bb901bc7e73f63d26f5a8cde34401603ae820 Mon Sep 17 00:00:00 2001 From: Alan McIntyre Date: Mon, 23 Jun 2008 08:14:59 +0000 Subject: Fixed imports in doctests. --- numpy/core/arrayprint.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/core/arrayprint.py') diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index 30035bbff..99f9c8607 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -218,6 +218,7 @@ def array2string(a, max_line_width = None, precision = None, Examples -------- + >>> import numpy as N >>> x = N.array([1e-16,1,2,3]) >>> print array2string(x,precision=2,separator=',',suppress_small=True) [ 0., 1., 2., 3.] -- cgit v1.2.1