diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-03-27 19:55:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 19:55:50 -0700 |
commit | ed2f21a5139a31d63b9948ecb1549d4e9f240516 (patch) | |
tree | 1c83688095576c9f25e1263ec8d9ae717857acda /Doc/library | |
parent | b95a79c928fc4a6135d91c0c553cb2a63cf15140 (diff) | |
download | cpython-git-revert-10341-patch-7.tar.gz |
Revert "Minor doc improvement (GH-10341)"revert-10341-patch-7
This reverts commit dfd775a0b1aee51d842b20cdebd97cc52c0b32e7.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/collections.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 8d53e6879e..64de970fec 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -971,7 +971,7 @@ function: >>> getattr(p, 'x') 11 -To convert a dictionary to a named tuple, use the ``**`` operator +To convert a dictionary to a named tuple, use the double-star-operator (as described in :ref:`tut-unpacking-arguments`): >>> d = {'x': 11, 'y': 22} |