diff options
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index 2e91bea7c..acc333a44 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -2,15 +2,18 @@ from lib import add_newdoc add_newdoc('numpy.core','dtype', - [('fields', "Fields of the data-typedescr if any."), + [('fields', "Fields of the data-type or None if no fields"), + ('names', "Names of fields or None if no fields"), ('alignment', "Needed alignment for this data-type"), ('byteorder', "Little-endian (<), big-endian (>), native (=), or "\ "not-applicable (|)"), - ('char', "Letter typecode for this descriptor"), - ('dtype', "Typeobject associated with this descriptor"), - ('kind', "Character giving type-family of this descriptor"), + ('char', "Letter typecode for this data-type"), + ('type', "Typeobject associated with this data-type"), + ('kind', "Character giving type-family of this data-type"), ('itemsize', "Size of each item"), + ('hasobject', "Non-zero if Python objects are in "\ + "this data-type"), ('num', "Internally-used number for builtin base") ] ) |