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.
del s[i:j]
Mutable Sequence Types
1 parent 39f36a1 commit bec9bdfCopy full SHA for bec9bdf
Doc/library/stdtypes.rst
@@ -1181,7 +1181,9 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
1181
| | is replaced by the contents of | |
1182
| | the iterable *t* | |
1183
+------------------------------+--------------------------------+---------------------+
1184
-| ``del s[i:j]`` | same as ``s[i:j] = []`` | |
+| ``del s[i:j]`` | removes the elements of | |
1185
+| | ``s[i:j]`` from the list | |
1186
+| | (same as ``s[i:j] = []``) | |
1187
1188
| ``s[i:j:k] = t`` | the elements of ``s[i:j:k]`` | \(1) |
1189
| | are replaced by those of *t* | |
0 commit comments