Skip to content

Commit bf7aac3

Browse files
[3.13] gh-119003: Clarify slice assignments (GH-119935) (#120847)
gh-119003: Clarify slice assignments (GH-119935) (cherry picked from commit 4628320) Co-authored-by: Nice Zombies <[email protected]>
1 parent 41b2d19 commit bf7aac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
12201220
Notes:
12211221

12221222
(1)
1223-
*t* must have the same length as the slice it is replacing.
1223+
If *k* is not equal to ``1``, *t* must have the same length as the slice it is replacing.
12241224

12251225
(2)
12261226
The optional argument *i* defaults to ``-1``, so that by default the last

0 commit comments

Comments
 (0)