mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
bpo-32117: Iterable unpacking in return and yield documentation (GH-9487)
News entry clean up, added to what's new Requested by @gvanrossum in https://github.com/python/cpython/pull/4509 https://bugs.python.org/issue32117
This commit is contained in:
parent
488cfb78c8
commit
8fabae3b00
2 changed files with 6 additions and 2 deletions
|
@ -103,6 +103,10 @@ Other Language Changes
|
||||||
never intended to permit more than a bare name on the left-hand side of a
|
never intended to permit more than a bare name on the left-hand side of a
|
||||||
keyword argument assignment term. See :issue:`34641`.
|
keyword argument assignment term. See :issue:`34641`.
|
||||||
|
|
||||||
|
* Iterable unpacking is now allowed without parentheses in :keyword:`yield`
|
||||||
|
and :keyword:`return` statements.
|
||||||
|
(Contributed by David Cuthbert and Jordan Chapman in :issue:`32117`.)
|
||||||
|
|
||||||
New Modules
|
New Modules
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
Iterable unpacking is now allowed without parenthesis in yield and return
|
Iterable unpacking is now allowed without parentheses in yield and return
|
||||||
statements, e.g. ``yield 1, 2, 3, *rest``. Thanks to David Cuthbert for the
|
statements, e.g. ``yield 1, 2, 3, *rest``. Thanks to David Cuthbert for the
|
||||||
change and jChapman for added tests.
|
change and Jordan Chapman for added tests.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue