8000 Docs: Change `remove` to `removes` for consistency (#121072) · python/cpython@967a4f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 967a4f1

Browse files
authored
Docs: Change remove to removes for consistency (#121072)
1 parent 19dd2dc commit 967a4f1

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
@@ -1245,8 +1245,9 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
12451245
| ``s.pop()`` or ``s.pop(i)`` | retrieves the item at *i* and | \(2) |
12461246
| | also removes it from *s* | |
12471247
+------------------------------+--------------------------------+---------------------+
1248-
| ``s.remove(x)`` | remove the first item from *s* | \(3) |
1249-
| | where ``s[i]`` is equal to *x* | |
1248+
| ``s.remove(x)`` | removes the first item from | \(3) |
1249+
| | *s* where ``s[i]`` is equal to | |
1250+
| | *x* | |
12501251
+------------------------------+--------------------------------+---------------------+
12511252
| ``s.reverse()`` | reverses the items of *s* in | \(4) |
12521253
| | place | |

0 commit comments

Comments
 (0)
0