From b9829fca711605ed4a5966b32fbc8e2f5755c9a1 Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Sat, 3 Nov 2012 12:13:46 -0700 Subject: Backport from 3.2: link to mapping glossary entry in docs. --- 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 index 17ad105..02a9ecd 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -72,7 +72,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. diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index b08561e..f00c4fb 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1937,7 +1937,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 -- cgit v0.12