summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorNathan Goldbaum <nathan.goldbaum@gmail.com>2022-12-15 11:23:37 -0700
committerGitHub <noreply@github.com>2022-12-15 11:23:37 -0700
commit66791605e18aaf2773067d2a3e0bf8a12a566db9 (patch)
treeb181ad2cc149e04852e52280589c5c34104278f6 /doc/source/reference
parent6410629305b8f75fed1f0602cefc34eba3208854 (diff)
downloadnumpy-66791605e18aaf2773067d2a3e0bf8a12a566db9.tar.gz
Update doc/source/reference/arrays.dtypes.rst
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/arrays.dtypes.rst2
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.