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

eric.araujo python-checkins at python.org
Thu Jun 9 14:11:00 CEST 2011


http://hg.python.org/cpython/rev/69b416cd1727
changeset:   70723:69b416cd1727
branch:      3.2
user:        Éric Araujo <merwok at netwok.org>
date:        Wed Jun 08 04:53:20 2011 +0200
summary:
  Add links from builtins module docs to built-in functions and constants docs

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


diff --git a/Doc/library/builtins.rst b/Doc/library/builtins.rst
--- a/Doc/library/builtins.rst
+++ b/Doc/library/builtins.rst
@@ -7,7 +7,9 @@
 
 This module provides direct access to all 'built-in' identifiers of Python; for
 example, ``builtins.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