mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
This commit is contained in:
parent
daa0fe03a5
commit
b40e434386
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue