There was an error while loading. Please reload this page.
2 parents d1130e3 + 2c07818 commit cc568b1Copy full SHA for cc568b1
1 file changed
Doc/reference/datamodel.rst
@@ -2106,9 +2106,9 @@ left undefined.
2106
2107
.. note::
2108
2109
- When :meth:`__index__` is defined, :meth:`__int__` should also be defined,
2110
- and both shuld return the same value, in order to have a coherent integer
2111
- 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.
2112
2113
2114
.. _context-managers:
0 commit comments