Issue #26696: Document collections.abc.ByteString.

Thanks to Xiang Zhang for the patch.
This commit is contained in:
Brett Cannon 2016-07-15 12:16:18 -07:00
parent b7567c587d
commit 9305bba203
1 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,9 @@ ABC Inherits from Abstract Methods Mixin
``__len__``, ``__len__``,
``insert`` ``insert``
:class:`ByteString` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequence` methods
``__len__``
:class:`Set` :class:`Sized`, ``__contains__``, ``__le__``, ``__lt__``, ``__eq__``, ``__ne__``, :class:`Set` :class:`Sized`, ``__contains__``, ``__le__``, ``__lt__``, ``__eq__``, ``__ne__``,
:class:`Iterable`, ``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``, :class:`Iterable`, ``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
:class:`Container` ``__len__`` ``__sub__``, ``__xor__``, and ``isdisjoint`` :class:`Container` ``__len__`` ``__sub__``, ``__xor__``, and ``isdisjoint``
@ -119,6 +122,7 @@ ABC Inherits from Abstract Methods Mixin
.. class:: Sequence .. class:: Sequence
MutableSequence MutableSequence
ByteString
ABCs for read-only and mutable :term:`sequences <sequence>`. ABCs for read-only and mutable :term:`sequences <sequence>`.
@ -135,7 +139,6 @@ ABC Inherits from Abstract Methods Mixin
The index() method added support for *stop* and *start* The index() method added support for *stop* and *start*
arguments. arguments.
.. class:: Set .. class:: Set
MutableSet MutableSet