From 2c0781853ad0ea24391a645aa8be222a27a13f2f Mon Sep 17 00:00:00 2001 From: R David Murray Date: Thu, 5 Jun 2014 15:31:56 -0400 Subject: #21662: fix typo, improve sentence flow Patch by Steve Dougherty. --- Doc/reference/datamodel.rst | 6 +++--- 1 file 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: -- cgit v0.12