summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-06-05 19:32:34 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-06-05 19:32:34 (GMT)
commitcc568b12225f944330c09484bac482aa2cc67a5f (patch)
treedcc4fd8fa160def59361329812e5ebbd18d9bf38 /Doc/reference
parentd1130e3d05aa3642d96091363ac83926af16ddbb (diff)
parent2c0781853ad0ea24391a645aa8be222a27a13f2f (diff)
downloadcpython-cc568b12225f944330c09484bac482aa2cc67a5f.zip
cpython-cc568b12225f944330c09484bac482aa2cc67a5f.tar.gz
cpython-cc568b12225f944330c09484bac482aa2cc67a5f.tar.bz2
Merge #21662: fix typo, improve sentence flow
Diffstat (limited to 'Doc/reference')
-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 24f6649..6ce575e 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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: