We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d22c876 commit 2ff5bb4Copy full SHA for 2ff5bb4
Doc/library/stdtypes.rst
@@ -1112,7 +1112,7 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
1112
| | index given by *i* | |
1113
| | (same as ``s[i:i] = [x]``) | |
1114
+------------------------------+--------------------------------+---------------------+
1115
-| ``s.pop([i])`` | retrieves the item at *i* and | \(2) |
+| ``s.pop()`` or ``s.pop(i)`` | retrieves the item at *i* and | \(2) |
1116
| | also removes it from *s* | |
1117
1118
| ``s.remove(x)`` | remove the first item from *s* | \(3) |
0 commit comments