]> granicus.if.org Git - python/commitdiff
#21662: fix typo, improve sentence flow
authorR David Murray <rdmurray@bitdance.com>
Thu, 5 Jun 2014 19:31:56 +0000 (15:31 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 5 Jun 2014 19:31:56 +0000 (15:31 -0400)
Patch by Steve Dougherty.

Doc/reference/datamodel.rst

index c0ed5af4293bee05edd731ddc8aa56a1f52f3565..a90189179e5971e71c4a43947d2bc9e6b8c272a0 100644 (file)
@@ -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: