[Python-checkins] cpython (2.7): Backport from 3.2: link to mapping glossary entry in docs.

chris.jerdonek python-checkins at python.org
Sat Nov 3 20:14:51 CET 2012


http://hg.python.org/cpython/rev/781817bbee28
changeset:   80206:781817bbee28
branch:      2.7
parent:      80199:5b5c2c3b2268
user:        Chris Jerdonek <chris.jerdonek at gmail.com>
date:        Sat Nov 03 12:13:46 2012 -0700
summary:
  Backport from 3.2: link to mapping glossary entry in docs.

files:
  Doc/library/os.rst       |  2 +-
  Doc/library/stdtypes.rst |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -72,7 +72,7 @@
 
 .. data:: environ
 
-   A mapping object representing the string environment. For example,
+   A :term:`mapping` object representing the string environment. For example,
    ``environ['HOME']`` is the pathname of your home directory (on some platforms),
    and is equivalent to ``getenv("HOME")`` in C.
 
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -1937,7 +1937,7 @@
    statement: del
    builtin: len
 
-A :dfn:`mapping` object maps :term:`hashable` values to arbitrary objects.
+A :term:`mapping` object maps :term:`hashable` values to arbitrary objects.
 Mappings are mutable objects.  There is currently only one standard mapping
 type, the :dfn:`dictionary`.  (For other containers see the built in
 :class:`list`, :class:`set`, and :class:`tuple` classes, and the

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


More information about the Python-checkins mailing list