Commit 11f3f172 authored by Chris Jerdonek's avatar Chris Jerdonek

Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.

parent 0941d9fc
...@@ -98,7 +98,7 @@ process and user. ...@@ -98,7 +98,7 @@ process and user.
.. data:: environ .. 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), ``environ['HOME']`` is the pathname of your home directory (on some platforms),
and is equivalent to ``getenv("HOME")`` in C. and is equivalent to ``getenv("HOME")`` in C.
...@@ -138,7 +138,7 @@ process and user. ...@@ -138,7 +138,7 @@ process and user.
.. data:: environb .. 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 environment as byte strings. :data:`environ` and :data:`environb` are
synchronized (modify :data:`environb` updates :data:`environ`, and vice synchronized (modify :data:`environb` updates :data:`environ`, and vice
versa). versa).
......
...@@ -2095,7 +2095,7 @@ Mapping Types --- :class:`dict` ...@@ -2095,7 +2095,7 @@ Mapping Types --- :class:`dict`
statement: del statement: del
builtin: len 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 Mappings are mutable objects. There is currently only one standard mapping
type, the :dfn:`dictionary`. (For other containers see the built in type, the :dfn:`dictionary`. (For other containers see the built in
:class:`list`, :class:`set`, and :class:`tuple` classes, and the :class:`list`, :class:`set`, and :class:`tuple` classes, and the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment