diff options
Diffstat (limited to 'doc/source/reference')
-rw-r--r-- | doc/source/reference/arrays.dtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/arrays.dtypes.rst b/doc/source/reference/arrays.dtypes.rst index 944542278..f4218ce86 100644 --- a/doc/source/reference/arrays.dtypes.rst +++ b/doc/source/reference/arrays.dtypes.rst @@ -264,7 +264,7 @@ Array-protocol type strings (see :ref:`arrays.interface`) .. admonition:: Note on string types For backward compatibility with existing code originally written to support - Python 2 ``S`` and ``a`` typestrings are zero-terminated bytes and + Python 2, ``S`` and ``a`` typestrings are zero-terminated bytes and `numpy.string_` continues to alias `numpy.bytes_`. For unicode strings, use ``U``, `numpy.str_`, or `numpy.unicode_`. For signed bytes that do not need zero-termination ``b`` or ``i1`` can be used. |