diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-07-04 03:58:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 03:58:21 (GMT) |
commit | b40e434386cd94a367d4a256e3364771140160e7 (patch) | |
tree | 1113fde9bcdd5994949ece5723ab7b2c9cff9fa7 /Doc | |
parent | daa0fe03a517d335d48e65ace8e5da636e265a8f (diff) | |
download | cpython-b40e434386cd94a367d4a256e3364771140160e7.zip cpython-b40e434386cd94a367d4a256e3364771140160e7.tar.gz cpython-b40e434386cd94a367d4a256e3364771140160e7.tar.bz2 |
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
Diffstat (limited to 'Doc')
-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. |