Skip to content

Commit

Permalink
Fix typo in datamodel docs (python#113314)
Browse files Browse the repository at this point in the history
Co-authored-by: Rodrigo Girão Serrão <[email protected]>
  • Loading branch information
rodrigogiraoserrao authored and ryan-duve committed Dec 26, 2023
1 parent 729127e commit 9ae24e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2811,7 +2811,7 @@ through the object's keys; for sequences, it should iterate through the values.
the accepted keys should be integers and slice objects. Note that the
special interpretation of negative indexes (if the class wishes to emulate a
:term:`sequence` type) is up to the :meth:`__getitem__` method. If *key* is
of an inappropriate type, :exc:`TypeError` may be raised; if of a value
of an inappropriate type, :exc:`TypeError` may be raised; if *key* is a value
outside the set of indexes for the sequence (after any special
interpretation of negative values), :exc:`IndexError` should be raised. For
:term:`mapping` types, if *key* is missing (not in the container),
Expand Down

0 comments on commit 9ae24e2

Please sign in to comment.