diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2020-12-13 16:51:40 -0800 |
---|---|---|
committer | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2020-12-13 16:51:40 -0800 |
commit | fe582b6e6ef21706ee00fcdad5b97c4430a4616d (patch) | |
tree | 0660969ac0766f4f03e410309d4d36969559640a | |
parent | eff302e5e8678fa17fb3d8156d49eb585b0876d9 (diff) | |
download | numpy-fe582b6e6ef21706ee00fcdad5b97c4430a4616d.tar.gz |
[DOC] np.kron use double backticks for non-refs
Some part of the docstring were between simple backticks which are
therefore marked as cross-reference, while I belive the intended role is
likely verbatim.
-rw-r--r-- | numpy/lib/shape_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index cbc4641d8..f0596444e 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -1088,8 +1088,8 @@ def kron(a, b): ----- The function assumes that the number of dimensions of `a` and `b` are the same, if necessary prepending the smallest with ones. - If `a.shape = (r0,r1,..,rN)` and `b.shape = (s0,s1,...,sN)`, - the Kronecker product has shape `(r0*s0, r1*s1, ..., rN*SN)`. + If ``a.shape = (r0,r1,..,rN)`` and ``b.shape = (s0,s1,...,sN)``, + the Kronecker product has shape ``(r0*s0, r1*s1, ..., rN*SN)``. The elements are products of elements from `a` and `b`, organized explicitly by:: |