summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-12-10 23:49:02 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-12-10 23:49:02 (GMT)
commit3b46f5ac18f9826c9b38398cbc306de856c2f109 (patch)
tree7ea0648f2abc059c9adf54dcaadb0844bb8ab123
parente6b2b78a7d2715e5b645825924c575ceff3d4205 (diff)
parent06c6218d00204941006214d9a1fdc25b38ea8a0a (diff)
downloadcpython-3b46f5ac18f9826c9b38398cbc306de856c2f109.zip
cpython-3b46f5ac18f9826c9b38398cbc306de856c2f109.tar.gz
cpython-3b46f5ac18f9826c9b38398cbc306de856c2f109.tar.bz2
Merge with 3.4
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index ff06e85..c41735f 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -3761,8 +3761,8 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
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