diff options
author | Hans Meine <hans_meine@gmx.net> | 2014-03-15 07:11:58 +0100 |
---|---|---|
committer | Hans Meine <hans_meine@gmx.net> | 2014-03-15 07:11:58 +0100 |
commit | c0014729f973f1baa6d614154aa0d21b3fb79291 (patch) | |
tree | 4970e29306a16011c2644cf5f9fbad041b414cd3 /numpy/add_newdocs.py | |
parent | e86077ab5a742b8fd81a137c946a551752f237f4 (diff) | |
download | numpy-c0014729f973f1baa6d614154aa0d21b3fb79291.tar.gz |
explain character codes of dtype.kind
"one of 'biufcSUV'" is not very helpful if it stands alone,
also the 'O' typecode was missing.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r-- | numpy/add_newdocs.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py index 23faa3290..86ea4b8b6 100644 --- a/numpy/add_newdocs.py +++ b/numpy/add_newdocs.py @@ -6118,7 +6118,19 @@ add_newdoc('numpy.core.multiarray', 'dtype', ('itemsize', add_newdoc('numpy.core.multiarray', 'dtype', ('kind', """ - A character code (one of 'biufcSUV') identifying the general kind of data. + A character code (one of 'biufcOSUV') identifying the general kind of data. + + = ====================== + b boolean + i signed integer + u unsigned integer + f floating-point + c complex floating-point + O object + S (byte-)string + U Unicode + V void + = ====================== """)) |