]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122791)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Aug 2024 16:06:54 +0000 (18:06 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 16:06:54 +0000 (16:06 +0000)
Docs: Change `remove` to `removes` for consistency (GH-121072)
(cherry picked from commit 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e)

Co-authored-by: smij720 <122238526+smij720@users.noreply.github.com>
Doc/library/stdtypes.rst

index 02dcf0321be21ee02087d052df8cae3d5d45f502..8e6cb11134f865195f4275c496918e470c45924a 100644 (file)
@@ -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                          |                     |