summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Summerfield <list@qtrac.plus.com>2007-08-30 15:03:03 (GMT)
committerMark Summerfield <list@qtrac.plus.com>2007-08-30 15:03:03 (GMT)
commit7f626f4c349cc2b27e227c39d0410a8d07912458 (patch)
treeb6ab95214eb55d9e87f45a14a7b246e4fad2b7d7
parent0226d857377abf6826571b618d05ae94d5f9a6b0 (diff)
downloadcpython-7f626f4c349cc2b27e227c39d0410a8d07912458.zip
cpython-7f626f4c349cc2b27e227c39d0410a8d07912458.tar.gz
cpython-7f626f4c349cc2b27e227c39d0410a8d07912458.tar.bz2
Added more cross-references.
-rw-r--r--Doc/library/collections.rst6
-rw-r--r--Doc/library/fpformat.rst4
-rw-r--r--Doc/library/stringio.rst3
3 files changed, 9 insertions, 4 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 381d8eb..28d48bf 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`.
diff --git a/Doc/library/fpformat.rst b/Doc/library/fpformat.rst
index 33655fb..6627c81 100644
--- a/Doc/library/fpformat.rst
+++ b/Doc/library/fpformat.rst
@@ -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:
diff --git a/Doc/library/stringio.rst b/Doc/library/stringio.rst
index 9e2f0da..4736fc3 100644
--- a/Doc/library/stringio.rst
+++ b/Doc/library/stringio.rst
@@ -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])