[3.12] gh-119003: Clarify slice assignments (GH-119935) (#120848)

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:
Miss Islington (bot) 2024-06-23 14:34:25 +02:00 committed by GitHub
parent b64488545f
commit 2b2530540f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1220,7 +1220,7 @@ accepts integers that meet the value restriction ``0 <= x <= 255``).
Notes:
(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)
The optional argument *i* defaults to ``-1``, so that by default the last