[Python-checkins] cpython (3.5): Issue #26696: Document collections.abc.ByteString.
brett.cannon
python-checkins at python.org
Fri Jul 15 15:16:48 EDT 2016
https://hg.python.org/cpython/rev/8be87fde577f
changeset: 102364:8be87fde577f
branch: 3.5
parent: 102362:91ab24efba36
user: Brett Cannon <brett at python.org>
date: Fri Jul 15 12:16:18 2016 -0700
summary:
Issue #26696: Document collections.abc.ByteString.
Thanks to Xiang Zhang for the patch.
files:
Doc/library/collections.abc.rst | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -55,6 +55,9 @@
``__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 @@
.. class:: Sequence
MutableSequence
+ ByteString
ABCs for read-only and mutable :term:`sequences <sequence>`.
@@ -135,7 +139,6 @@
The index() method added support for *stop* and *start*
arguments.
-
.. class:: Set
MutableSet
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list