mirror of https://github.com/python/cpython
bpo-33864: Clarify the docs for typing.ByteString (GH-21311)
This commit is contained in:
parent
daa0fe03a5
commit
b40e434386
|
@ -672,7 +672,7 @@ The module defines the following classes, functions and decorators:
|
||||||
A generic version of :class:`collections.abc.ByteString`.
|
A generic version of :class:`collections.abc.ByteString`.
|
||||||
|
|
||||||
This type represents the types :class:`bytes`, :class:`bytearray`,
|
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
|
As a shorthand for this type, :class:`bytes` can be used to
|
||||||
annotate arguments of any of the types mentioned above.
|
annotate arguments of any of the types mentioned above.
|
||||||
|
|
Loading…
Reference in New Issue