diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-10-10 10:36:22 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-10-10 10:36:22 (GMT) |
commit | d21e0b52f1421e253ecdc583faf5743133cac605 (patch) | |
tree | eba56801810249775eda33388a92bf6d3c8e69e0 /Doc/reference | |
parent | cfad54344f570c1e833d92289ac571da7315b164 (diff) | |
download | cpython-d21e0b52f1421e253ecdc583faf5743133cac605.zip cpython-d21e0b52f1421e253ecdc583faf5743133cac605.tar.gz cpython-d21e0b52f1421e253ecdc583faf5743133cac605.tar.bz2 |
Issue #25161: Add full stops in documentation; patch by Takase Arihiro
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 4acf13e..4e84d5e 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1310,7 +1310,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 29ef0b7..b6b2b00 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. |