[Python-checkins] cpython (3.4): #21662: fix typo, improve sentence flow
r.david.murray
python-checkins at python.org
Thu Jun 5 21:33:04 CEST 2014
http://hg.python.org/cpython/rev/ead4dee062e3
changeset: 91045:ead4dee062e3
branch: 3.4
parent: 91043:6c890b2739f4
user: R David Murray <rdmurray at bitdance.com>
date: Thu Jun 05 15:31:56 2014 -0400
summary:
#21662: fix typo, improve sentence flow
Patch by Steve Dougherty.
files:
Doc/reference/datamodel.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -2102,9 +2102,9 @@
.. 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:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list