diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-06-05 19:32:34 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-06-05 19:32:34 (GMT) |
commit | cc568b12225f944330c09484bac482aa2cc67a5f (patch) | |
tree | dcc4fd8fa160def59361329812e5ebbd18d9bf38 /Doc/reference | |
parent | d1130e3d05aa3642d96091363ac83926af16ddbb (diff) | |
parent | 2c0781853ad0ea24391a645aa8be222a27a13f2f (diff) | |
download | cpython-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.rst | 6 |
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: |