From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:18:08 +0000 (+0200) Subject: [3.13] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122790) X-Git-Tag: v3.13.0rc2~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc8368e9d0ec4ffd72bc320fa4884e50a3eb92f9;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122790) Docs: Change `remove` to `removes` for consistency (GH-121072) (cherry picked from commit 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e) Co-authored-by: smij720 <122238526+smij720@users.noreply.github.com> --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 84f0f6d04536..a210b839b5d6 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1209,8 +1209,9 @@ accepts integers that meet the value restriction ``0 <= x <= 255``). | ``s.pop()`` or ``s.pop(i)`` | retrieves the item at *i* and | \(2) | | | also removes it from *s* | | +------------------------------+--------------------------------+---------------------+ -| ``s.remove(x)`` | remove the first item from *s* | \(3) | -| | where ``s[i]`` is equal to *x* | | +| ``s.remove(x)`` | removes the first item from | \(3) | +| | *s* where ``s[i]`` is equal to | | +| | *x* | | +------------------------------+--------------------------------+---------------------+ | ``s.reverse()`` | reverses the items of *s* in | \(4) | | | place | |