Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9305bba

Browse files
committed
Issue #26696: Document collections.abc.ByteString.
Thanks to Xiang Zhang for the patch.
1 parent b7567c5 commit 9305bba

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Doc/library/collections.abc.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ ABC Inherits from Abstract Methods Mixin
5555
``__len__``,
5656
``insert``
5757

58+
:class:`ByteString` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequence` methods
59+
``__len__``
60+
5861
:class:`Set` :class:`Sized`, ``__contains__``, ``__le__``, ``__lt__``, ``__eq__``, ``__ne__``,
5962
:class:`Iterable`, ``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
6063
:class:`Container` ``__len__`` ``__sub__``, ``__xor__``, and ``isdisjoint``
@@ -119,6 +122,7 @@ ABC Inherits from Abstract Methods Mixin
119122

120123
.. class:: Sequence
121124
MutableSequence
125+
ByteString
122126

123127
ABCs for read-only and mutable :term:`sequences <sequence>`.
124128

@@ -135,7 +139,6 @@ ABC Inherits from Abstract Methods Mixin
135139
The index() method added support for *stop* and *start*
136140
arguments.
137141

138-
139142
.. class:: Set
140143
MutableSet
141144

0 commit comments

Comments
 (0)