diff options
author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-11-03 19:05:55 (GMT) |
---|---|---|
committer | Chris Jerdonek <chris.jerdonek@gmail.com> | 2012-11-03 19:05:55 (GMT) |
commit | 11f3f172e7081e2de0879dff86ded51109fa4e04 (patch) | |
tree | 07889ea02eca60cdd8091d1c615e23d4987e95ef | |
parent | 0941d9fc64e1429454282667d0ca47740c141943 (diff) | |
download | cpython-11f3f172e7081e2de0879dff86ded51109fa4e04.zip cpython-11f3f172e7081e2de0879dff86ded51109fa4e04.tar.gz cpython-11f3f172e7081e2de0879dff86ded51109fa4e04.tar.bz2 |
Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.
-rw-r--r-- | Doc/library/os.rst | 4 | ||||
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 410e03a..9429810 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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). diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index b3c21fe..6e6e8ce 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 |