diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-12 01:46:50 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-12 01:46:50 (GMT) |
commit | 0c0da48aede7e56f722fd8240bf7c27a862bc4d3 (patch) | |
tree | 898a5fc9d59017e5cdb8c2366b08e470da2d736d /Doc/whatsnew/3.5.rst | |
parent | 0d18c15fbf4365764e61017c1ccb6cecc49edf84 (diff) | |
download | cpython-0c0da48aede7e56f722fd8240bf7c27a862bc4d3.zip cpython-0c0da48aede7e56f722fd8240bf7c27a862bc4d3.tar.gz cpython-0c0da48aede7e56f722fd8240bf7c27a862bc4d3.tar.bz2 |
Issue #24136: Document generalized unpacking, PEP 448
Based on patches by Konstantin Molchanov and Neil Girdhar.
Diffstat (limited to 'Doc/whatsnew/3.5.rst')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 2d7f8a4..dc55c65 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -320,7 +320,7 @@ PEP 448 - Additional Unpacking Generalizations :pep:`448` extends the allowed uses of the ``*`` iterable unpacking operator and ``**`` dictionary unpacking operator. It is now possible -to use an arbitrary number of unpackings in function calls:: +to use an arbitrary number of unpackings in :ref:`function calls <calls>`:: >>> print(*[1], *[2], 3, *[4, 5]) 1 2 3 4 5 @@ -333,7 +333,7 @@ to use an arbitrary number of unpackings in function calls:: 1 2 3 4 Similarly, tuple, list, set, and dictionary displays allow multiple -unpackings:: +unpackings (see :ref:`exprlists` and :ref:`dict`):: >>> *range(4), 4 (0, 1, 2, 3, 4) |