summaryrefslogtreecommitdiff
path: root/numpy/lib/polynomial.py
diff options
context:
space:
mode:
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)
-
-