Skip to content

bpo-32117: Allow tuple unpacking in return and yield statements #4509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 22, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Touch up news entry
  • Loading branch information
brettcannon authored Sep 21, 2018
commit 67303cadfaeb84a6c741fcff359639f58be9f841
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Tuple unpacking is now allowed without parenthesis in yield and return
statements, e.g. ``yield 1, 2, 3, *rest``.
Iterable unpacking is now allowed without parenthesis in yield and return
statements, e.g. ``yield 1, 2, 3, *rest``. Thanks to David Cuthbert for the
change and jChapman for added tests.