summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukulika <mukulikapahari@gmail.com>2021-09-26 20:27:08 +0530
committerMukulika <mukulikapahari@gmail.com>2021-09-26 20:27:08 +0530
commiteb41441eeafbd39840fe68cdcd2d21b3746d6824 (patch)
tree97c2b4f2f55884a56a8afa5fca79d34e1e3d4742
parent0b01b48d9c86af834e24a290339ec83e8bc9334a (diff)
downloadnumpy-eb41441eeafbd39840fe68cdcd2d21b3746d6824.tar.gz
DOC: Minor syntax fix for numpydoc warnings
-rw-r--r--numpy/core/_add_newdocs.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py
index 6731b2e9d..95918a4b7 100644
--- a/numpy/core/_add_newdocs.py
+++ b/numpy/core/_add_newdocs.py
@@ -2818,8 +2818,8 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('__class_getitem__',
>>> np.ndarray[Any, np.dtype[Any]]
numpy.ndarray[typing.Any, numpy.dtype[Any]]
- Note
- ----
+ Notes
+ -----
This method is only available for python 3.9 and later.
See Also
@@ -6097,8 +6097,8 @@ add_newdoc('numpy.core.multiarray', 'dtype', ('__class_getitem__',
>>> np.dtype[np.int64]
numpy.dtype[numpy.int64]
- Note
- ----
+ Notes
+ -----
This method is only available for python 3.9 and later.
See Also
@@ -6548,8 +6548,8 @@ add_newdoc('numpy.core.numerictypes', 'number', ('__class_getitem__',
>>> np.signedinteger[Any]
numpy.signedinteger[typing.Any]
- Note
- ----
+ Notes
+ -----
This method is only available for python 3.9 and later.
See Also