summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorAllan Haldane <allan.haldane@gmail.com>2018-11-18 01:48:34 -0500
committerAllan Haldane <allan.haldane@gmail.com>2018-11-18 02:28:06 -0500
commitdb72ee103a904ae4ebabb1bd35e069779e10de7f (patch)
tree55bc699b9c5dc6fd4b28df088671e78140faa762 /numpy/core
parentbc8117727febce2168f21ff024286ced96b72020 (diff)
downloadnumpy-db72ee103a904ae4ebabb1bd35e069779e10de7f.tar.gz
MAINT: correct the dtype.descr docstring
[ci skip]
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/_add_newdocs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py
index ea472f1b3..ebe5f6b54 100644
--- a/numpy/core/_add_newdocs.py
+++ b/numpy/core/_add_newdocs.py
@@ -5714,13 +5714,13 @@ add_newdoc('numpy.core.multiarray', 'dtype', ('char',
add_newdoc('numpy.core.multiarray', 'dtype', ('descr',
"""
- PEP3118 interface description of the data-type.
+ `__array_interface__` description of the data-type.
The format is that required by the 'descr' key in the
- PEP3118 `__array_interface__` attribute.
+ `__array_interface__` attribute.
- Warning: This attribute exists specifically for PEP3118 compliance, and
- is not a datatype description compatible with `np.dtype`.
+ Warning: This attribute exists specifically for `__array_interface__`,
+ and is not a datatype description compatible with `np.dtype`.
"""))
add_newdoc('numpy.core.multiarray', 'dtype', ('fields',