bpo-32117: Iterable unpacking in return and yield documentation (GH-9… · python/cpython@8fabae3 (original) (raw)

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -103,6 +103,10 @@ Other Language Changes
103 103 never intended to permit more than a bare name on the left-hand side of a
104 104 keyword argument assignment term. See :issue:`34641`.
105 105
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 +
106 110 New Modules
107 111 ===========
108 112
Original file line number Diff line number Diff 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
2 2 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.