[Python-checkins] cpython (2.7): Add links from builtins module docs to built-in functions and constants docs

eric.araujo python-checkins at python.org
Fri Jul 29 14:38:01 CEST 2011


http://hg.python.org/cpython/rev/9433e0091fdf
changeset:   71585:9433e0091fdf
branch:      2.7
user:        Éric Araujo <merwok at netwok.org>
date:        Fri Jul 29 11:53:57 2011 +0200
summary:
  Add links from builtins module docs to built-in functions and constants docs

files:
  Doc/library/__builtin__.rst |  4 +++-
  Doc/library/constants.rst   |  2 ++
  2 files changed, 5 insertions(+), 1 deletions(-)


diff --git a/Doc/library/__builtin__.rst b/Doc/library/__builtin__.rst
--- a/Doc/library/__builtin__.rst
+++ b/Doc/library/__builtin__.rst
@@ -8,7 +8,9 @@
 
 This module provides direct access to all 'built-in' identifiers of Python; for
 example, ``__builtin__.open`` is the full name for the built-in function
-:func:`open`.
+:func:`open`.  See :ref:`built-in-funcs` and :ref:`built-in-consts` for
+documentation.
+
 
 This module is not normally accessed explicitly by most applications, but can be
 useful in modules that provide objects with the same name as a built-in value,
diff --git a/Doc/library/constants.rst b/Doc/library/constants.rst
--- a/Doc/library/constants.rst
+++ b/Doc/library/constants.rst
@@ -1,3 +1,5 @@
+.. _built-in-consts:
+
 Built-in Constants
 ==================
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list