summaryrefslogtreecommitdiff
path: root/numpy/lib/polynomial.py
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2007-03-22 22:49:17 +0000
committerStefan van der Walt <stefan@sun.ac.za>2007-03-22 22:49:17 +0000
commitf48806e7ae54c5de0ac622e388c983a015b670bf (patch)
tree8ae29dcaa9eaf438fd1cb3912348f2e43c303dc4 /numpy/lib/polynomial.py
parenta07c823b0bd91b282b38f8d8609bae808078aaa3 (diff)
downloadnumpy-f48806e7ae54c5de0ac622e388c983a015b670bf.tar.gz
Replace tabs with spaces (see ticket #470).
Diffstat (limited to 'numpy/lib/polynomial.py')
-rw-r--r--numpy/lib/polynomial.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py
index 4e1db5525..b35926900 100644
--- a/numpy/lib/polynomial.py
+++ b/numpy/lib/polynomial.py
@@ -53,11 +53,11 @@ def poly(seq_of_zeros):
If the input is a matrix, return the characteristic polynomial.
Example:
-
+
>>> b = roots([1,3,1,5,6])
>>> poly(b)
array([ 1., 3., 1., 5., 6.])
-
+
"""
seq_of_zeros = atleast_1d(seq_of_zeros)
sh = seq_of_zeros.shape
@@ -655,5 +655,3 @@ class poly1d(object):
# Stuff to do on module import
warnings.simplefilter('always',RankWarning)
-
-