mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #25161: Merge full stops from 3.4 into 3.5
This commit is contained in:
commit
84835ab1cb
38 changed files with 42 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue