mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
[3.13] gh-119003: Clarify slice assignments (GH-119935) (#120847)
gh-119003: Clarify slice assignments (GH-119935)
(cherry picked from commit 462832041e
)
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
This commit is contained in:
parent
41b2d19912
commit
bf7aac3d25
1 changed files with 1 additions and 1 deletions
|
@ -1220,7 +1220,7 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
(1)
|
(1)
|
||||||
*t* must have the same length as the slice it is replacing.
|
If *k* is not equal to ``1``, *t* must have the same length as the slice it is replacing.
|
||||||
|
|
||||||
(2)
|
(2)
|
||||||
The optional argument *i* defaults to ``-1``, so that by default the last
|
The optional argument *i* defaults to ``-1``, so that by default the last
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue