https://github.com/python/cpython/commit/967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e
commit: 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e
branch: main
author: smij720 <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-08-07T16:30:00+01:00
summary:
Docs: Change `remove` to `removes` for consistency (#121072)
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index b44ac69606706c..01121feb2b2311 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 |
|
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]