summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index c2c9262..613973c 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -405,10 +405,14 @@ Setting the :attr:`default_factory` to :class:`set` makes the
print record
To cast an individual record stored as :class:`list`, :class:`tuple`, or some
- other iterable type, use the star-operator to unpack the values::
+ other iterable type, use the star-operator [#]_ to unpack the values::
>>> Color = NamedTuple('Color', 'name code')
>>> m = dict(red=1, green=2, blue=3)
>>> print Color(*m.popitem())
Color(name='blue', code=3)
+.. rubric:: Footnotes
+
+.. [#] For information on the star-operator see
+ :ref:`tut-unpacking-arguments` and :ref:`calls`.