From 86158fc4c7aa5df7cec7c4b578ad849ab5c47e62 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 1 Sep 2009 08:00:47 +0000 Subject: [PATCH] #6810: add a link to the section about frame objects instead of just a description where to find it. --- Doc/library/signal.rst | 6 +++--- Doc/reference/datamodel.rst | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst index c039eee7169..a7cf33d03a9 100644 --- a/Doc/library/signal.rst +++ b/Doc/library/signal.rst @@ -211,9 +211,9 @@ The :mod:`signal` module defines the following functions: 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 ` or see the + attribute descriptions in the :mod:`inspect` module). .. _signal-example: diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 865911ffe2b..a10dbdb0a85 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -959,6 +959,8 @@ Internal types 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