[Python-checkins] cpython (merge 3.4 -> default): Merge with 3.4
terry.reedy
python-checkins at python.org
Thu Dec 11 00:50:54 CET 2014
https://hg.python.org/cpython/rev/b03d58e6ce6a
changeset: 93824:b03d58e6ce6a
parent: 93822:dd5491705e5f
parent: 93823:41b172fd4479
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Wed Dec 10 18:49:02 2014 -0500
summary:
Merge with 3.4
files:
Doc/library/stdtypes.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -3761,8 +3761,8 @@
Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is
not in the map.
- .. index:: __missing__()
-
+ .. index:: __missing__()
+
If a subclass of dict defines a method :meth:`__missing__` and *key*
is not present, the ``d[key]`` operation calls that method with the key *key*
as argument. The ``d[key]`` operation then returns or raises whatever is
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list