]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 3 Feb 2024 15:48:29 +0000 (16:48 +0100)
committerGitHub <noreply@github.com>
Sat, 3 Feb 2024 15:48:29 +0000 (15:48 +0000)
gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956)
(cherry picked from commit b4240fd68ecd2c22ec82ac549eabfe5fd35fab2a)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Doc/library/collections.abc.rst

index 0b05899d05a251730f54d6c82e33ba4ff726926c..be93eb7c139a38e0a08f3c780de28a3b7700109f 100644 (file)
@@ -136,8 +136,8 @@ ABC                            Inherits from          Abstract Methods        Mi
                                :class:`Collection`    ``__len__``             ``index``, and ``count``
 
 :class:`MutableSequence`       :class:`Sequence`      ``__getitem__``,        Inherited :class:`Sequence` methods and
-                                                      ``__setitem__``,        ``append``, ``reverse``, ``extend``, ``pop``,
-                                                      ``__delitem__``,        ``remove``, and ``__iadd__``
+                                                      ``__setitem__``,        ``append``, ``clear``, ``reverse``, ``extend``,
+                                                      ``__delitem__``,        ``pop``, ``remove``, and ``__iadd__``
                                                       ``__len__``,
                                                       ``insert``