summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-06-23 08:14:59 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-06-23 08:14:59 +0000
commit008bb901bc7e73f63d26f5a8cde34401603ae820 (patch)
tree25768393628ebbdb388e15f0581ff1aa601140b5 /numpy/core/arrayprint.py
parentb7ff8ebbe0942b85b173bf4ec70fee6c1decbe37 (diff)
downloadnumpy-008bb901bc7e73f63d26f5a8cde34401603ae820.tar.gz
Fixed imports in doctests.
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py1
1 files changed, 1 insertions, 0 deletions
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.]