summaryrefslogtreecommitdiff
path: root/numpy/lib/polynomial.py
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2020-12-13 17:08:40 -0800
committerMatthias Bussonnier <bussonniermatthias@gmail.com>2020-12-18 20:49:36 -0800
commit09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609 (patch)
tree232e4a89b612a17fb9b373260dc5adb9306fb8de /numpy/lib/polynomial.py
parentbac54ecb0b815eea2e8116d21aa96e1387793468 (diff)
downloadnumpy-09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609.tar.gz
DOC: Fix a couple of reference to verbatim and vice versa
This update a coupe of references (single backticks) that actually are not to verbatim/code (double backticks); and a couple of verbatim to reference when they do actually exists and can be resolved in context. I probably missed other; and stayed simple but spoted a few other inconsistencies that I did not fix: - some ``...`` could actually be :math:`...` but not always clear if it would be better. - some intervals are [``...``], other are ``[...]`` I guess they could be discussed individually; it was mostly the failing references that bothered me.
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 0fd9bbd79..ea966ffa3 100644
--- a/numpy/lib/polynomial.py
+++ b/numpy/lib/polynomial.py
@@ -708,8 +708,8 @@ def polyval(p, x):
``p[0]*x**(N-1) + p[1]*x**(N-2) + ... + p[N-2]*x + p[N-1]``
- If `x` is a sequence, then `p(x)` is returned for each element of `x`.
- If `x` is another polynomial then the composite polynomial `p(x(t))`
+ If `x` is a sequence, then ``p(x)`` is returned for each element of ``x``.
+ If `x` is another polynomial then the composite polynomial ``p(x(t))``
is returned.
Parameters