diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-07-04 04:05:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 04:05:41 (GMT) |
commit | 1cbcf9833f26588a16b5b69d202df727dbd09968 (patch) | |
tree | 3ab2fac3beea6b035d52214829d99010257c985b | |
parent | 941117aaa32bf8b02c739ad848ac727292f75b05 (diff) | |
download | cpython-1cbcf9833f26588a16b5b69d202df727dbd09968.zip cpython-1cbcf9833f26588a16b5b69d202df727dbd09968.tar.gz cpython-1cbcf9833f26588a16b5b69d202df727dbd09968.tar.bz2 |
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
(cherry picked from commit b40e434386cd94a367d4a256e3364771140160e7)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index e85b6d6..e5143c5 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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. |