[Python-checkins] bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
Zackery Spytz
webhook-mailer at python.org
Fri Jul 3 23:58:29 EDT 2020
https://github.com/python/cpython/commit/b40e434386cd94a367d4a256e3364771140160e7
commit: b40e434386cd94a367d4a256e3364771140160e7
branch: master
author: Zackery Spytz <zspytz at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-07-03T20:58:21-07:00
summary:
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index e85b6d697f79d..e5143c5f8d9e4 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.
More information about the Python-checkins
mailing list