]> granicus.if.org Git - python/commitdiff
Added more cross-references.
authorMark Summerfield <list@qtrac.plus.com>
Thu, 30 Aug 2007 15:03:03 +0000 (15:03 +0000)
committerMark Summerfield <list@qtrac.plus.com>
Thu, 30 Aug 2007 15:03:03 +0000 (15:03 +0000)
Doc/library/collections.rst
Doc/library/fpformat.rst
Doc/library/stringio.rst

index 381d8ebbfe91d3f27c7b30d58425dd313598fd75..28d48bf8fd0dcbb7e0ef264b9a9d9f6ab9303025 100644 (file)
@@ -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`.
index 33655fbf012357c0cb817bde8b29c9b31a4e759e..6627c8110341e192afac2de2793cc387195fe4c0 100644 (file)
@@ -12,8 +12,8 @@ numbers representations in 100% pure Python.
 
 .. note::
 
-   This module is unneeded: everything here could be done via the ``%`` string
-   interpolation operator.
+   This module is unnecessary: everything here can be done using the ``%`` string
+   interpolation operator described in the :ref:`string-formatting` section.
 
 The :mod:`fpformat` module defines the following functions and an exception:
 
index 9e2f0da8fc9a57e19ea3c8921af18eeeaf270f95..4736fc3a7c733986d3b76b9cf62f4b6bedfd489d 100644 (file)
@@ -8,7 +8,8 @@
 
 This module implements a file-like class, :class:`StringIO`, that reads and
 writes a string buffer (also known as *memory files*).  See the description of
-file objects for operations (section :ref:`bltin-file-objects`).
+file objects for operations (section :ref:`bltin-file-objects`). (For
+standard strings, see :class:`str` and :class:`unicode`.)
 
 
 .. class:: StringIO([buffer])