8000 [3.13] Docs: Change `remove` to `removes` for consistency (GH-121072)… · python/cpython@bc8368e · GitHub
[go: up one dir, main page]

Skip to content

Commit bc8368e

Browse files
[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 967a4f1) Co-authored-by: smij720 <122238526+smij720@users.noreply.github.com>
1 parent 59be613 commit bc8368e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,8 +1209,9 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
12091209
| ``s.pop()`` or ``s.pop(i)`` | retrieves the item at *i* and | \(2) |
12101210
| | also removes it from *s* | |
12111211
+------------------------------+--------------------------------+---------------------+
1212-
| ``s.remove(x)`` | remove the first item from *s* | \(3) |
1213-
| | where ``s[i]`` is equal to *x* | |
1212+
| ``s.remove(x)`` | removes the first item from | \(3) |
1213+
| | *s* where ``s[i]`` is equal to | |
1214+
| | *x* | |
12141215
+------------------------------+--------------------------------+---------------------+
12151216
| ``s.reverse()`` | reverses the items of *s* in | \(4) |
12161217
| | place | |

0 commit comments

Comments
 (0)
0