diff options
author | David Cuthbert <dacut@kanga.org> | 2018-09-22 01:31:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2018-09-22 01:31:15 (GMT) |
commit | fd97d1f1af910a6222ea12aec42c456b64f9aee4 (patch) | |
tree | e07d238eb81a7f526e40249b706d95b4ba4a4748 /Lib/test/test_enum.py | |
parent | 7279b5125e7c5d84a473d250b27d353cb7f6628e (diff) | |
download | cpython-fd97d1f1af910a6222ea12aec42c456b64f9aee4.zip cpython-fd97d1f1af910a6222ea12aec42c456b64f9aee4.tar.gz cpython-fd97d1f1af910a6222ea12aec42c456b64f9aee4.tar.bz2 |
bpo-32117: Allow tuple unpacking in return and yield statements (gh-4509)
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
change and jChapman for added tests.
Diffstat (limited to 'Lib/test/test_enum.py')
0 files changed, 0 insertions, 0 deletions