diff options
author | smij720 <122238526+smij720@users.noreply.github.com> | 2024-08-07 15:30:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-07 15:30:00 (GMT) |
commit | 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e (patch) | |
tree | c1ecbc73320b8cf84d8ec5dd6aab9a5e9f6b9c13 /Doc/library | |
parent | 19dd2dcbde857fa5137ab7f72a7f541cb689bac7 (diff) | |
download | cpython-967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e.zip cpython-967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e.tar.gz cpython-967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e.tar.bz2 |
Docs: Change `remove` to `removes` for consistency (#121072)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/stdtypes.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index b44ac69..01121fe 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 | | |