summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-07-20 20:57:30 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-07-20 20:57:30 +0000
commit3a4fd7e82ca5b200e7b7eeb92343e32b4e8891b6 (patch)
tree7c1998757e8580d2fa4a9869329428661d86e7a4 /numpy/add_newdocs.py
parent622701d2159a7d25153db1bfc270d4b710c0eaa1 (diff)
downloadnumpy-3a4fd7e82ca5b200e7b7eeb92343e32b4e8891b6.tar.gz
Add more documentation. Fix #99
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py11
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")
]
)