Skip to content

Commit 5a7cc66

Browse files
Fix typo in datamodel docs (#113314)
Co-authored-by: Rodrigo Girão Serrão <[email protected]>
1 parent 22b8945 commit 5a7cc66

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
@@ -2811,7 +2811,7 @@ through the object's keys; for sequences, it should iterate through the values.
28112811
the accepted keys should be integers and slice objects. Note that the
28122812
special interpretation of negative indexes (if the class wishes to emulate a
28132813
:term:`sequence` type) is up to the :meth:`__getitem__` method. If *key* is
2814-
of an inappropriate type, :exc:`TypeError` may be raised; if of a value
2814+
of an inappropriate type, :exc:`TypeError` may be raised; if *key* is a value
28152815
outside the set of indexes for the sequence (after any special
28162816
interpretation of negative values), :exc:`IndexError` should be raised. For
28172817
:term:`mapping` types, if *key* is missing (not in the container),

0 commit comments

Comments
 (0)