]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 4 Jul 2020 04:06:07 +0000 (21:06 -0700)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2020 04:06:07 +0000 (21:06 -0700)
(cherry picked from commit b40e434386cd94a367d4a256e3364771140160e7)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Doc/library/typing.rst

index 5fa89423d20bf6bd310fd7eaeaf467a62aa8e86b..1467276d0141d0cfbcd78a4df06dcb35b4cad1d3 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.