]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
authorZackery Spytz <zspytz@gmail.com>
Sat, 4 Jul 2020 03:58:21 +0000 (21:58 -0600)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2020 03:58:21 +0000 (20:58 -0700)
Doc/library/typing.rst

index e85b6d697f79d4f283a7abdfc5ebbe4809ee9809..e5143c5f8d9e4a4df15249ffd2e0627cb4b1ed10 100644 (file)
@@ -672,7 +672,7 @@ The module defines the following classes, functions and decorators:
    A generic version of :class:`collections.abc.ByteString`.
 
    This type represents the types :class:`bytes`, :class:`bytearray`,
-   and :class:`memoryview`.
+   and :class:`memoryview` of byte sequences.
 
    As a shorthand for this type, :class:`bytes` can be used to
    annotate arguments of any of the types mentioned above.