https://github.com/python/cpython/commit/2e8235302b95c168cee0885b24ad1a6e47aa3b02 commit: 2e8235302b95c168cee0885b24ad1a6e47aa3b02 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com> date: 2024-08-07T16:06:54Z summary:
[3.12] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122791) Docs: Change `remove` to `removes` for consistency (GH-121072) (cherry picked from commit 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e) Co-authored-by: smij720 <122238526+smij...@users.noreply.github.com> files: M Doc/library/stdtypes.rst diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 02dcf0321be21e..8e6cb11134f865 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 | | _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com