Kaydet (Commit) 86158fc4 authored tarafından Georg Brandl's avatar Georg Brandl

#6810: add a link to the section about frame objects instead of just a…

#6810: add a link to the section about frame objects instead of just a description where to find it.
üst 018ad1c9
...@@ -211,9 +211,9 @@ The :mod:`signal` module defines the following functions: ...@@ -211,9 +211,9 @@ The :mod:`signal` module defines the following functions:
exception to be raised. exception to be raised.
The *handler* is called with two arguments: the signal number and the current 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 stack frame (``None`` or a frame object; for a description of frame objects,
the reference manual section on the standard type hierarchy or see the attribute see the :ref:`description in the type hierarchy <frame-objects>` or see the
descriptions in the :mod:`inspect` module). attribute descriptions in the :mod:`inspect` module).
.. _signal-example: .. _signal-example:
......
...@@ -959,6 +959,8 @@ Internal types ...@@ -959,6 +959,8 @@ Internal types
If a code object represents a function, the first item in :attr:`co_consts` is 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. the documentation string of the function, or ``None`` if undefined.
.. _frame-objects:
Frame objects Frame objects
.. index:: object: frame .. index:: object: frame
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment