Skip to content

Commit f33ff0d

Browse files
"Most" not "Some" seq. do implement negative index.
1 parent 2985c63 commit f33ff0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ Sequences
308308
These represent finite ordered sets indexed by non-negative numbers. The
309309
built-in function :func:`len` returns the number of items of a sequence. When
310310
the length of a sequence is *n*, the index set contains the numbers 0, 1,
311-
..., *n*-1. Item *i* of sequence *a* is selected by ``a[i]``. Some sequences,
311+
..., *n*-1. Item *i* of sequence *a* is selected by ``a[i]``. Most sequences,
312312
including built-in sequences, interpret negative subscripts by adding the
313313
sequence length. For example, ``a[-2]`` equals ``a[n-2]``, the second to last
314314
item of sequence a with length ``n``.

0 commit comments

Comments
 (0)