From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 3 Feb 2024 15:48:29 +0000 (+0100) Subject: [3.11] gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956... X-Git-Tag: v3.11.8~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9639e428a7930636cd57f75c6c7c5ea5c10e4a2;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956) (#114962) gh-114955: Add clear to MutableSequence's mixin methods in document (gh-114956) (cherry picked from commit b4240fd68ecd2c22ec82ac549eabfe5fd35fab2a) Co-authored-by: AN Long --- diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst index 0b05899d05a2..be93eb7c139a 100644 --- a/Doc/library/collections.abc.rst +++ b/Doc/library/collections.abc.rst @@ -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``