From: R David Murray Date: Thu, 5 Jun 2014 19:31:56 +0000 (-0400) Subject: #21662: fix typo, improve sentence flow X-Git-Tag: v3.4.2rc1~432 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c0781853ad0ea24391a645aa8be222a27a13f2f;p=python #21662: fix typo, improve sentence flow Patch by Steve Dougherty. --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index c0ed5af429..a90189179e 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: