]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122790)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Aug 2024 16:18:08 +0000 (18:18 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 16:18:08 +0000 (16:18 +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 84f0f6d04536797d4e8eb2be6875887be0131888..a210b839b5d6e278aeb63836a08daae15eed6e95 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                          |                     |