Skip to content

Commit 8566fbb

Browse files
Yzi-Lipicnixz
andauthored
Update Doc/library/stdtypes.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 43a63cc commit 8566fbb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,8 +1151,7 @@ Notes:
11511151
the start of the sequence rather than the start of the slice.
11521152

11531153
(9)
1154-
If the sequence is empty or *i* is outside the sequence range, :exc:`IndexError`
1155-
will be raised.
1154+
An :exc:`IndexError` is raised if *i* is outside the sequence range.
11561155

11571156

11581157
.. _typesseq-immutable:

0 commit comments

Comments
 (0)