summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorjChapman <jChapman@users.noreply.github.com>2018-09-23 01:13:10 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-23 01:13:10 (GMT)
commit8fabae3b00b2ccffd9f7bf4736734ae584ac5829 (patch)
treee9816636608c05ed3f6685d0f1854d7eecc60401 /Doc
parent488cfb78c8b81075942b5e4cc9630e7a6dd9dc28 (diff)
downloadcpython-8fabae3b00b2ccffd9f7bf4736734ae584ac5829.zip
cpython-8fabae3b00b2ccffd9f7bf4736734ae584ac5829.tar.gz
cpython-8fabae3b00b2ccffd9f7bf4736734ae584ac5829.tar.bz2
bpo-32117: Iterable unpacking in return and yield documentation (GH-9487)
News entry clean up, added to what's new Requested by @gvanrossum in https://github.com/python/cpython/pull/4509 https://bugs.python.org/issue32117
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 26928fb..c464346 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -103,6 +103,10 @@ Other Language Changes
never intended to permit more than a bare name on the left-hand side of a
keyword argument assignment term. See :issue:`34641`.
+* Iterable unpacking is now allowed without parentheses in :keyword:`yield`
+ and :keyword:`return` statements.
+ (Contributed by David Cuthbert and Jordan Chapman in :issue:`32117`.)
+
New Modules
===========