Skip to content

Commit 71e46c2

Browse files
committed
Use :func:divmod instead to improve the rendering
1 parent d8937a6 commit 71e46c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ def diff(a, n=1, axis=-1, prepend=None, append=None):
16251625
16261626
Equivalent to :math:`(x1 // x2, x1 \% x2)`, but faster because it avoids
16271627
redundant work. It is used to implement the Python built-in function
1628-
:func:`python:divmod` on :class:`dpnp.ndarray`.
1628+
:func:`divmod` on :class:`dpnp.ndarray`.
16291629
16301630
Complex dtypes are not supported, they will raise a ``TypeError``.
16311631
@@ -1642,7 +1642,7 @@ def diff(a, n=1, axis=-1, prepend=None, append=None):
16421642
>>> np.divmod(np.arange(5), 3)
16431643
(array([0, 0, 0, 1, 1]), array([0, 1, 2, 0, 1]))
16441644
1645-
The Python built-in function :func:`python:divmod` can be used as a shorthand
1645+
The Python built-in function :func:`divmod` can be used as a shorthand
16461646
for ``np.divmod`` on :class:`dpnp.ndarray`.
16471647
16481648
>>> x = np.arange(5)

0 commit comments

Comments
 (0)