From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:06:54 +0000 (+0200) Subject: [3.12] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122791) X-Git-Tag: v3.12.6~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e8235302b95c168cee0885b24ad1a6e47aa3b02;p=thirdparty%2FPython%2Fcpython.git [3.12] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122791) 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 02dcf0321be2..8e6cb11134f8 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 | |