diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-10-10 10:45:00 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-10-10 10:45:00 (GMT) |
commit | 430f657c67f21be03dce8bcfc4ae163c97b04a8d (patch) | |
tree | 65d8e5158f1e6bd4fdd0f48a6429629b10b413c9 /Doc/reference | |
parent | a6d5038226e596d9a3f96c6db566a3152ea3bef5 (diff) | |
parent | 84835ab1cb2a8ccfeeb4474d39130d972a3c563d (diff) | |
download | cpython-430f657c67f21be03dce8bcfc4ae163c97b04a8d.zip cpython-430f657c67f21be03dce8bcfc4ae163c97b04a8d.tar.gz cpython-430f657c67f21be03dce8bcfc4ae163c97b04a8d.tar.bz2 |
Issue #25161: Merge full stops from 3.5
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 | ||||
-rw-r--r-- | Doc/reference/expressions.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index e1d71b8..e5e25a8 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1320,7 +1320,7 @@ Basic customization object's :meth:`__hash__` must interoperate on builds of different bit sizes, be sure to check the width on all supported builds. An easy way to do this is with - ``python -c "import sys; print(sys.hash_info.width)"`` + ``python -c "import sys; print(sys.hash_info.width)"``. If a class does not define an :meth:`__eq__` method it should not define a :meth:`__hash__` operation either; if it defines :meth:`__eq__` but not diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 5c33ce6..99fa037 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -371,7 +371,7 @@ the yield expression. It can be either set explicitly when raising (by returning a value from the sub-generator). .. versionchanged:: 3.3 - Added ``yield from <expr>`` to delegate control flow to a subiterator + Added ``yield from <expr>`` to delegate control flow to a subiterator. The parentheses may be omitted when the yield expression is the sole expression on the right hand side of an assignment statement. |