]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956)
authorAN Long <aisk@users.noreply.github.com>
Sat, 3 Feb 2024 15:33:58 +0000 (23:33 +0800)
committerGitHub <noreply@github.com>
Sat, 3 Feb 2024 15:33:58 +0000 (09:33 -0600)
Doc/library/collections.abc.rst

index 582bb18f752bd59e730ce419636ed1bceef864ff..7bcaba60c6ddbd98c33bd8b8d847b3a632121cea 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``