diff options
-rw-r--r-- | Doc/reference/datamodel.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index c0ed5af..a901891 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -2102,9 +2102,9 @@ left undefined. .. note:: - When :meth:`__index__` is defined, :meth:`__int__` should also be defined, - and both shuld return the same value, in order to have a coherent integer - type class. + In order to have a coherent integer type class, when :meth:`__index__` is + defined :meth:`__int__` should also be defined, and both should return + the same value. .. _context-managers: |