Skip to content

Commit 8fabae3

Browse files
jChapmanmiss-islington
authored andcommitted
bpo-32117: Iterable unpacking in return and yield documentation (GH-9487)
News entry clean up, added to what's new Requested by @gvanrossum in #4509 https://bugs.python.org/issue32117
1 parent 488cfb7 commit 8fabae3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ Other Language Changes
103103
never intended to permit more than a bare name on the left-hand side of a
104104
keyword argument assignment term. See :issue:`34641`.
105105

106+
* Iterable unpacking is now allowed without parentheses in :keyword:`yield`
107+
and :keyword:`return` statements.
108+
(Contributed by David Cuthbert and Jordan Chapman in :issue:`32117`.)
109+
106110
New Modules
107111
===========
108112

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Iterable unpacking is now allowed without parenthesis in yield and return
1+
Iterable unpacking is now allowed without parentheses in yield and return
22
statements, e.g. ``yield 1, 2, 3, *rest``. Thanks to David Cuthbert for the
3-
change and jChapman for added tests.
3+
change and Jordan Chapman for added tests.

0 commit comments

Comments
 (0)