Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbec9bdf

Browse files
[3.13]gh-134833: improve docs fordel s[i:j] inMutable Sequence Types (GH-134834) (#136609)
gh-134833: improve docs for `del s[i:j]` in `Mutable Sequence Types` (GH-134834)(cherry picked from commit609d5ad)Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
1 parent39f36a1 commitbec9bdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎Doc/library/stdtypes.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,9 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
11811181
|| is replaced by the contents of||
11821182
|| the iterable *t*||
11831183
+------------------------------+--------------------------------+---------------------+
1184-
| ``del s[i:j]``| same as ``s[i:j] = []``||
1184+
| ``del s[i:j]``| removes the elements of||
1185+
|| ``s[i:j]`` from the list||
1186+
|| (same as ``s[i:j] = []``)||
11851187
+------------------------------+--------------------------------+---------------------+
11861188
| ``s[i:j:k] = t``| the elements of ``s[i:j:k]``|\(1)|
11871189
|| are replaced by those of *t*||

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp