summaryrefslogtreecommitdiff
path: root/doc/source/reference/arrays.scalars.rst
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-10-24 14:00:46 +0100
committerEric Wieser <wieser.eric@gmail.com>2020-10-24 14:00:46 +0100
commitb0f1cc13a04dd8225f6e6fb90604c7d8379aa3a3 (patch)
treeb15713ba24e6081b396c192105f9b76ae7ef287e /doc/source/reference/arrays.scalars.rst
parentbeac56601587e26563d83b0a47cd0b1f006bf5d6 (diff)
downloadnumpy-b0f1cc13a04dd8225f6e6fb90604c7d8379aa3a3.tar.gz
DOC: Tidy up references to str_ / bytes_
This: * Fixes some broken references * Cleans up some use of Python 2 aliases: * Switches references to `np.string_` to describe `np.bytes_` instead * Switches references to `np.unicode_` to describe `np.str_` instead
Diffstat (limited to 'doc/source/reference/arrays.scalars.rst')
-rw-r--r--doc/source/reference/arrays.scalars.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/arrays.scalars.rst b/doc/source/reference/arrays.scalars.rst
index 13d117af2..24393f1e7 100644
--- a/doc/source/reference/arrays.scalars.rst
+++ b/doc/source/reference/arrays.scalars.rst
@@ -30,8 +30,8 @@ present can be determined using other members of the data type
hierarchy. Thus, for example ``isinstance(val, np.complexfloating)``
will return :py:data:`True` if *val* is a complex valued type, while
``isinstance(val, np.flexible)`` will return true if *val* is one
-of the flexible itemsize array types (:class:`string`,
-:class:`unicode`, :class:`void`).
+of the flexible itemsize array types (:class:`str_`,
+:class:`bytes_`, :class:`void`).
.. figure:: figures/dtype-hierarchy.png