]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.
authorChris Jerdonek <chris.jerdonek@gmail.com>
Sat, 3 Nov 2012 19:05:55 +0000 (12:05 -0700)
committerChris Jerdonek <chris.jerdonek@gmail.com>
Sat, 3 Nov 2012 19:05:55 +0000 (12:05 -0700)
Doc/library/os.rst
Doc/library/stdtypes.rst

index 410e03a495696840c15f4b38855cf0d1ec2f6a7c..94298108779d02b5af2b209ade6583cb01cc26ee 100644 (file)
@@ -98,7 +98,7 @@ process and user.
 
 .. 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.
 
@@ -138,7 +138,7 @@ process and user.
 
 .. data:: environb
 
-   Bytes version of :data:`environ`: a mapping object representing the
+   Bytes version of :data:`environ`: a :term:`mapping` object representing the
    environment as byte strings. :data:`environ` and :data:`environb` are
    synchronized (modify :data:`environb` updates :data:`environ`, and vice
    versa).
index b3c21fe30c7c9f6ec23bb4ca3e36c7116dcadc7c..6e6e8ce51a26bba8197403c6b5e6fc3de04e468c 100644 (file)
@@ -2095,7 +2095,7 @@ Mapping Types --- :class:`dict`
    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