summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2022-02-09 14:47:24 +0100
committerGitHub <noreply@github.com>2022-02-09 10:47:24 -0300
commit51abd9693a78907f2ca7dfacee2017ef44fb9f49 (patch)
treedb1140b310ad6f3329831d71bde615c02ace744a /numpy
parenta6f55fe293502dd94eccb3799efdbaaa1d5ff1df (diff)
downloadnumpy-51abd9693a78907f2ca7dfacee2017ef44fb9f49.tar.gz
DOC: imbalanced backticks (#21020)
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/code_generators/ufunc_docstrings.py2
-rw-r--r--numpy/polynomial/polynomial.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py
index 24e2eef3f..d9035fbab 100644
--- a/numpy/core/code_generators/ufunc_docstrings.py
+++ b/numpy/core/code_generators/ufunc_docstrings.py
@@ -4048,7 +4048,7 @@ add_newdoc('numpy.core.umath', 'frexp',
"""
Decompose the elements of x into mantissa and twos exponent.
- Returns (`mantissa`, `exponent`), where `x = mantissa * 2**exponent``.
+ Returns (`mantissa`, `exponent`), where ``x = mantissa * 2**exponent``.
The mantissa lies in the open interval(-1, 1), while the twos
exponent is a signed integer.
diff --git a/numpy/polynomial/polynomial.py b/numpy/polynomial/polynomial.py
index 3c2663b6c..b4741355f 100644
--- a/numpy/polynomial/polynomial.py
+++ b/numpy/polynomial/polynomial.py
@@ -772,7 +772,7 @@ def polyvalfromroots(x, r, tensor=True):
If `r` is a 1-D array, then `p(x)` will have the same shape as `x`. If `r`
is multidimensional, then the shape of the result depends on the value of
- `tensor`. If `tensor is ``True`` the shape will be r.shape[1:] + x.shape;
+ `tensor`. If `tensor` is ``True`` the shape will be r.shape[1:] + x.shape;
that is, each polynomial is evaluated at every value of `x`. If `tensor` is
``False``, the shape will be r.shape[1:]; that is, each polynomial is
evaluated only for the corresponding broadcast value of `x`. Note that