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 46707d2 commit 609d5adCopy full SHA for 609d5ad
Doc/library/stdtypes.rst
@@ -1223,7 +1223,9 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
1223
| | is replaced by the contents of | |
1224
| | the iterable *t* | |
1225
+------------------------------+--------------------------------+---------------------+
1226
-| ``del s[i:j]`` | same as ``s[i:j] = []`` | |
+| ``del s[i:j]`` | removes the elements of | |
1227
+| | ``s[i:j]`` from the list | |
1228
+| | (same as ``s[i:j] = []``) | |
1229
1230
| ``s[i:j:k] = t`` | the elements of ``s[i:j:k]`` | \(1) |
1231
| | are replaced by those of *t* | |
0 commit comments