[Python-checkins] r74618 - in python/trunk/Doc: library/signal.rst reference/datamodel.rst

georg.brandl python-checkins at python.org
Tue Sep 1 10:00:47 CEST 2009


Author: georg.brandl
Date: Tue Sep  1 10:00:47 2009
New Revision: 74618

Log:
#6810: add a link to the section about frame objects instead of just a description where to find it.

Modified:
   python/trunk/Doc/library/signal.rst
   python/trunk/Doc/reference/datamodel.rst

Modified: python/trunk/Doc/library/signal.rst
==============================================================================
--- python/trunk/Doc/library/signal.rst	(original)
+++ python/trunk/Doc/library/signal.rst	Tue Sep  1 10:00:47 2009
@@ -211,9 +211,9 @@
    exception to be raised.
 
    The *handler* is called with two arguments: the signal number and the current
-   stack frame (``None`` or a frame object; for a description of frame objects, see
-   the reference manual section on the standard type hierarchy or see the attribute
-   descriptions in the :mod:`inspect` module).
+   stack frame (``None`` or a frame object; for a description of frame objects,
+   see the :ref:`description in the type hierarchy <frame-objects>` or see the
+   attribute descriptions in the :mod:`inspect` module).
 
 
 .. _signal-example:

Modified: python/trunk/Doc/reference/datamodel.rst
==============================================================================
--- python/trunk/Doc/reference/datamodel.rst	(original)
+++ python/trunk/Doc/reference/datamodel.rst	Tue Sep  1 10:00:47 2009
@@ -959,6 +959,8 @@
       If a code object represents a function, the first item in :attr:`co_consts` is
       the documentation string of the function, or ``None`` if undefined.
 
+   .. _frame-objects:
+
    Frame objects
       .. index:: object: frame
 


More information about the Python-checkins mailing list