Skip to content

Commit 44101e9

Browse files
[3.12] Fix typo in datamodel docs (GH-113314) (#113316)
Fix typo in datamodel docs (GH-113314) (cherry picked from commit 5a7cc66) Co-authored-by: Rodrigo Girão Serrão <[email protected]>
1 parent 68743e4 commit 44101e9

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

0 commit comments

Comments
 (0)