gh-119003: Clarify slice assignments (#119935)

This commit is contained in:
Nice Zombies 2024-06-21 20:30:50 +02:00 committed by GitHub
parent 1dadcb5a6a
commit 462832041e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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