mirror of https://github.com/python/cpython
Docs: Change `remove` to `removes` for consistency (#121072)
This commit is contained in:
parent
19dd2dcbde
commit
967a4f1d18
|
@ -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 | |
|
||||
|
|
Loading…
Reference in New Issue