summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-10-14 11:37:27 +0100
committerGitHub <noreply@github.com>2020-10-14 11:37:27 +0100
commit82c03d34c4a36f44b951a00efa901cf41457e1f3 (patch)
tree0a69cf7e252d6afd4c6087520f3d9bd962448633 /doc
parentd28af3d06160f2db43d7fbf45e9f2d32dc135cb2 (diff)
downloadnumpy-82c03d34c4a36f44b951a00efa901cf41457e1f3.tar.gz
Apply suggestions from code review
Diffstat (limited to 'doc')
-rw-r--r--doc/source/user/c-info.how-to-extend.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/user/c-info.how-to-extend.rst b/doc/source/user/c-info.how-to-extend.rst
index ed878be1e..845ce0a74 100644
--- a/doc/source/user/c-info.how-to-extend.rst
+++ b/doc/source/user/c-info.how-to-extend.rst
@@ -395,6 +395,7 @@ writeable). The syntax is
One of the enumerated types or :c:data:`NPY_NOTYPE` if the data-type
should be determined from the object itself. The C-based names
can be used:
+
:c:data:`NPY_BOOL`, :c:data:`NPY_BYTE`, :c:data:`NPY_UBYTE`,
:c:data:`NPY_SHORT`, :c:data:`NPY_USHORT`, :c:data:`NPY_INT`,
:c:data:`NPY_UINT`, :c:data:`NPY_LONG`, :c:data:`NPY_ULONG`,
@@ -404,6 +405,7 @@ writeable). The syntax is
Alternatively, the bit-width names can be used as supported on the
platform. For example:
+
:c:data:`NPY_INT8`, :c:data:`NPY_INT16`, :c:data:`NPY_INT32`,
:c:data:`NPY_INT64`, :c:data:`NPY_UINT8`,
:c:data:`NPY_UINT16`, :c:data:`NPY_UINT32`,