diff options
author | Matti Picus <matti.picus@gmail.com> | 2018-11-18 02:07:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-18 02:07:54 -0800 |
commit | 4956497540783f740a0b7936fdf88f126f8d2130 (patch) | |
tree | f7888d853b076a182b16852c4e6ecb2267770187 /numpy/core | |
parent | a4b96ad7649281de2c3a41292fcbab4c77c0743d (diff) | |
parent | db72ee103a904ae4ebabb1bd35e069779e10de7f (diff) | |
download | numpy-4956497540783f740a0b7936fdf88f126f8d2130.tar.gz |
Merge pull request #12409 from ahaldane/fix_descr_descr
MAINT: correct the dtype.descr docstring
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 bfb832dfc..bc034c3e9 100644 --- a/numpy/core/_add_newdocs.py +++ b/numpy/core/_add_newdocs.py @@ -5579,13 +5579,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', |