Guido van Rossum <gu...@python.org> added the comment:
See: commit fd97d1f1af910a6222ea12aec42c456b64f9aee4 Author: David Cuthbert <da...@kanga.org> Date: Fri Sep 21 18:31:15 2018 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. ---------- resolution: -> out of date stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34508> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com