summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Okpare <okparedave@gmail.com>2021-07-27 00:55:47 +0100
committerGitHub <noreply@github.com>2021-07-27 00:55:47 +0100
commit421883c001027514e5140f069019925b35226f40 (patch)
treea87b429bfe4d22593ed0710bd881b75273063a06 /numpy
parent6e5cdc9d0923558dc66ad878f2e5392d29185754 (diff)
downloadnumpy-421883c001027514e5140f069019925b35226f40.tar.gz
DOC: Remove `dot` docstring
Fixes #19531 Removed the `dot` docstring from numpy/core/_add_newdocs.py
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/_add_newdocs.py28
1 files changed, 1 insertions, 27 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py
index 4dab9006d..759a91d27 100644
--- a/numpy/core/_add_newdocs.py
+++ b/numpy/core/_add_newdocs.py
@@ -3227,33 +3227,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('diagonal',
"""))
-add_newdoc('numpy.core.multiarray', 'ndarray', ('dot',
- """
- a.dot(b, out=None)
-
- Dot product of two arrays.
-
- Refer to `numpy.dot` for full documentation.
-
- See Also
- --------
- numpy.dot : equivalent function
-
- Examples
- --------
- >>> a = np.eye(2)
- >>> b = np.ones((2, 2)) * 2
- >>> a.dot(b)
- array([[2., 2.],
- [2., 2.]])
-
- This array method can be conveniently chained:
-
- >>> a.dot(b).dot(b)
- array([[8., 8.],
- [8., 8.]])
-
- """))
+add_newdoc('numpy.core.multiarray', 'ndarray', ('dot'))
add_newdoc('numpy.core.multiarray', 'ndarray', ('dump',