From fe582b6e6ef21706ee00fcdad5b97c4430a4616d Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Sun, 13 Dec 2020 16:51:40 -0800 Subject: [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. --- numpy/lib/shape_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/shape_base.py') 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:: -- cgit v1.2.1