diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2018-11-18 01:48:34 -0500 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2018-11-18 02:28:06 -0500 |
commit | db72ee103a904ae4ebabb1bd35e069779e10de7f (patch) | |
tree | 55bc699b9c5dc6fd4b28df088671e78140faa762 /numpy/core | |
parent | bc8117727febce2168f21ff024286ced96b72020 (diff) | |
download | numpy-db72ee103a904ae4ebabb1bd35e069779e10de7f.tar.gz |
MAINT: correct the dtype.descr docstring
[ci skip]
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/_add_newdocs.py | 8 |
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', |