mirror of https://github.com/python/cpython
[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 967a4f1d18
)
Co-authored-by: smij720 <122238526+smij720@users.noreply.github.com>
This commit is contained in:
parent
59be613137
commit
bc8368e9d0
|
@ -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 | |
|
||||
|
|
Loading…
Reference in New Issue