summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-06-05 19:31:56 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-06-05 19:31:56 (GMT)
commit2c0781853ad0ea24391a645aa8be222a27a13f2f (patch)
tree53ce6912e26f3cf82bb4cf4277bbb5a94cbfba96 /Doc/reference/datamodel.rst
parent092135ebc81cb18fe441b5ce2472401b7e0a9048 (diff)
downloadcpython-2c0781853ad0ea24391a645aa8be222a27a13f2f.zip
cpython-2c0781853ad0ea24391a645aa8be222a27a13f2f.tar.gz
cpython-2c0781853ad0ea24391a645aa8be222a27a13f2f.tar.bz2
#21662: fix typo, improve sentence flow
Patch by Steve Dougherty.
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r--Doc/reference/datamodel.rst6
1 files 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: