Skip to content

Commit ba93308

Browse files
committed
detail del[i:j] in mutable sequence types
1 parent 469a564 commit ba93308

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,8 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
12201220
| | is replaced by the contents of | |
12211221
| | the iterable *t* | |
12221222
+------------------------------+--------------------------------+---------------------+
1223-
| ``del s[i:j]`` | same as ``s[i:j] = []`` | |
1223+
| ``del s[i:j]`` | removes the elements of s[i:j] | |
1224+
| | (same as ``s[i:j] = []``) | |
12241225
+------------------------------+--------------------------------+---------------------+
12251226
| ``s[i:j:k] = t`` | the elements of ``s[i:j:k]`` | \(1) |
12261227
| | are replaced by those of *t* | |

0 commit comments

Comments
 (0)