Skip to content

Commit 899f1c0

Browse files
[3.11] Fix typo in datamodel docs (GH-113314) (#113315)
Fix typo in datamodel docs (GH-113314) (cherry picked from commit 5a7cc66) Co-authored-by: Rodrigo Girão Serrão <[email protected]>
1 parent f1c27be commit 899f1c0

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

0 commit comments

Comments
 (0)