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 54d3871 commit af441dfCopy full SHA for af441df
Doc/library/stdtypes.rst
@@ -1092,7 +1092,7 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
1092
| | index given by *i* | |
1093
| | (same as ``s[i:i] = [x]``) | |
1094
+------------------------------+--------------------------------+---------------------+
1095
-| ``s.pop([i])`` | retrieves the item at *i* and | \(2) |
+| ``s.pop()`` or ``s.pop(i)`` | retrieves the item at *i* and | \(2) |
1096
| | also removes it from *s* | |
1097
1098
| ``s.remove(x)`` | remove the first item from *s* | \(3) |
0 commit comments