Skip to content

Commit

Permalink
gh-119003: Clarify slice assignments (#119935)
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo authored Jun 21, 2024
1 parent 1dadcb5 commit 4628320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4628320

Please sign in to comment.