summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelissawm <melissawm@gmail.com>2021-02-05 15:06:13 -0300
committermelissawm <melissawm@gmail.com>2021-02-05 15:06:13 -0300
commit5248f4ba50e95bba83e3e07f3271241e25b0421c (patch)
treea3a18e32cfdde51d744b862c476258551b68cb3a
parent46b5b0d428bbe3216140e799ca4aaa2507b8293e (diff)
downloadnumpy-5248f4ba50e95bba83e3e07f3271241e25b0421c.tar.gz
Applying suggestions from PR review.
-rw-r--r--doc/source/reference/arrays.ndarray.rst4
-rw-r--r--doc/source/reference/routines.linalg.rst2
-rw-r--r--numpy/core/code_generators/ufunc_docstrings.py2
3 files changed, 3 insertions, 5 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst
index 106ccd7cb..0d7bf0304 100644
--- a/doc/source/reference/arrays.ndarray.rst
+++ b/doc/source/reference/arrays.ndarray.rst
@@ -567,11 +567,9 @@ Matrix Multiplication:
.. note::
Matrix operators ``@`` and ``@=`` were introduced in Python 3.5
- following PEP465_ and are available since NumPy 1.10.0. Further
+ following :pep:`465` and are available since NumPy 1.10.0. Further
information can be found in the :func:`matmul` documentation.
-.. _PEP465: https://www.python.org/dev/peps/pep-0465/
-
Special methods
===============
diff --git a/doc/source/reference/routines.linalg.rst b/doc/source/reference/routines.linalg.rst
index 97bdf3974..f9d37af88 100644
--- a/doc/source/reference/routines.linalg.rst
+++ b/doc/source/reference/routines.linalg.rst
@@ -43,7 +43,7 @@ The ``@`` operator
Introduced in NumPy 1.10.0, the ``@`` and ``@=`` operators are preferable to
other methods when computing the matrix product between 2d arrays. The
-:func:`numpy.matmul` function implements the semantics of the ``@`` operator.
+:func:`numpy.matmul` function implements the ``@`` operator.
.. currentmodule:: numpy
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py
index fe3f88eb2..2f75cb41f 100644
--- a/numpy/core/code_generators/ufunc_docstrings.py
+++ b/numpy/core/code_generators/ufunc_docstrings.py
@@ -2809,7 +2809,7 @@ add_newdoc('numpy.core.umath', 'matmul',
>>> # n is 7, k is 4, m is 3
The matmul function implements the semantics of the ``@`` operator introduced
- in Python 3.5 following PEP465.
+ in Python 3.5 following :pep:`465`.
Examples
--------