Merge #21662: fix typo, improve sentence flow

This commit is contained in:
R David Murray 2014-06-05 15:32:34 -04:00
commit cc568b1222
1 changed files with 3 additions and 3 deletions

View File

@ -2106,9 +2106,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: