bpo-33864: Clarify the docs for typing.ByteString (GH-21311)

This commit is contained in:
Zackery Spytz 2020-07-03 21:58:21 -06:00 committed by GitHub
parent daa0fe03a5
commit b40e434386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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.