summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-07-15 19:16:18 (GMT)
committerBrett Cannon <brett@python.org>2016-07-15 19:16:18 (GMT)
commit9305bba203747d7176baa1a216ac59d8705eadab (patch)
tree01fb9e732850ca851797c2541960ff2b360d3126 /Doc
parentb7567c587d110723e743e7b665f53e14daa3a818 (diff)
downloadcpython-9305bba203747d7176baa1a216ac59d8705eadab.zip
cpython-9305bba203747d7176baa1a216ac59d8705eadab.tar.gz
cpython-9305bba203747d7176baa1a216ac59d8705eadab.tar.bz2
Issue #26696: Document collections.abc.ByteString.
Thanks to Xiang Zhang for the patch.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.abc.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
index 61682cc..aeb6a73 100644
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -55,6 +55,9 @@ ABC Inherits from Abstract Methods Mixin
``__len__``,
``insert``
+:class:`ByteString` :class:`Sequence` ``__getitem__``, Inherited :class:`Sequence` methods
+ ``__len__``
+
:class:`Set` :class:`Sized`, ``__contains__``, ``__le__``, ``__lt__``, ``__eq__``, ``__ne__``,
:class:`Iterable`, ``__iter__``, ``__gt__``, ``__ge__``, ``__and__``, ``__or__``,
:class:`Container` ``__len__`` ``__sub__``, ``__xor__``, and ``isdisjoint``
@@ -119,6 +122,7 @@ ABC Inherits from Abstract Methods Mixin
.. class:: Sequence
MutableSequence
+ ByteString
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*
arguments.
-
.. class:: Set
MutableSet