]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Change `remove` to `removes` for consistency (#121072)
authorsmij720 <122238526+smij720@users.noreply.github.com>
Wed, 7 Aug 2024 15:30:00 +0000 (08:30 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 15:30:00 +0000 (16:30 +0100)
Doc/library/stdtypes.rst

index b44ac69606706c6dd1b347fbbac9c6b558abd2a7..01121feb2b2311c487160aab26059989f2195bf0 100644 (file)
@@ -1245,8 +1245,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                          |                     |