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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py
index 303cdb13c..8fb0337dc 100644
--- a/numpy/lib/polynomial.py
+++ b/numpy/lib/polynomial.py
@@ -52,8 +52,8 @@ def poly(seq_of_zeros):
Example:
- >>> b = roots([1,3,1,5,6])
- >>> poly(b)
+ >>> b = np.roots([1,3,1,5,6])
+ >>> np.poly(b)
array([ 1., 3., 1., 5., 6.])
"""