summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-03-28 04:03:02 (GMT)
committerGitHub <noreply@github.com>2019-03-28 04:03:02 (GMT)
commitfb28fcc9252da51001b98cd93d65fb0e9b43aa3e (patch)
tree1c83688095576c9f25e1263ec8d9ae717857acda /Doc/library
parentb95a79c928fc4a6135d91c0c553cb2a63cf15140 (diff)
downloadcpython-fb28fcc9252da51001b98cd93d65fb0e9b43aa3e.zip
cpython-fb28fcc9252da51001b98cd93d65fb0e9b43aa3e.tar.gz
cpython-fb28fcc9252da51001b98cd93d65fb0e9b43aa3e.tar.bz2
Revert "Minor doc improvement (GH-10341)" (GH-12597)
This reverts commit dfd775a0b1aee51d842b20cdebd97cc52c0b32e7.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 8d53e68..64de970 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}