diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2022-06-03 20:51:18 +0200 |
---|---|---|
committer | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2022-06-03 20:59:40 +0200 |
commit | 84eeca630ec9c5bf580bc456035c87d8591c1389 (patch) | |
tree | fd1afa625a46a2a52ef3a69938a4c7b2c42dd54b /numpy/core/multiarray.py | |
parent | 2cc66cf0965c48ce6f804d3b0dc7be3d87afe45e (diff) | |
download | numpy-84eeca630ec9c5bf580bc456035c87d8591c1389.tar.gz |
DIC: Misc RST reformatting.
This contains various RST reformatting.
One, moving `(C)` one line up, is specific to a bug in tree-sitter-rst
that mis parses this section. Another is adding one black line for a
similar reason where `..` is seen as section underline by
tree-sitter-rst.
This is some shuffling of section underline: try to be consitant,
`=`, then `-`, then `~`, with this refactor there is also no more
section that use backticks as underline.
Note in particular that non-consitency of underline lead to a problem in
datetime64 section where "weekmasks" (underlined with `-`) were actually
a level-4 heading instead of a level 2 or 3 I guess, and thus were
nested under the `busday_count()` section.
You'll note also 2 formulas that are under double-quotes as they are not
references.
Diffstat (limited to 'numpy/core/multiarray.py')
-rw-r--r-- | numpy/core/multiarray.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py index ee88ce30b..8c14583e6 100644 --- a/numpy/core/multiarray.py +++ b/numpy/core/multiarray.py @@ -287,7 +287,7 @@ def inner(a, b): np.inner(a, b) = sum(a[:]*b[:]) - More generally, if `ndim(a) = r > 0` and `ndim(b) = s > 0`:: + More generally, if ``ndim(a) = r > 0`` and ``ndim(b) = s > 0``:: np.inner(a, b) = np.tensordot(a, b, axes=(-1,-1)) |