diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-06-05 19:31:56 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-06-05 19:31:56 (GMT) |
commit | 2c0781853ad0ea24391a645aa8be222a27a13f2f (patch) | |
tree | 53ce6912e26f3cf82bb4cf4277bbb5a94cbfba96 | |
parent | 092135ebc81cb18fe441b5ce2472401b7e0a9048 (diff) | |
download | cpython-2c0781853ad0ea24391a645aa8be222a27a13f2f.zip cpython-2c0781853ad0ea24391a645aa8be222a27a13f2f.tar.gz cpython-2c0781853ad0ea24391a645aa8be222a27a13f2f.tar.bz2 |
#21662: fix typo, improve sentence flow
Patch by Steve Dougherty.
-rw-r--r-- | Doc/reference/datamodel.rst | 6 |
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: |