summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-12-10 23:50:13 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-12-10 23:50:13 (GMT)
commitafd6f63739cba92abc5f23384fbe30980ff25131 (patch)
treefc0cb952b5ce7755318b1858ca6c2f55c61390de /Doc/library
parent3b46f5ac18f9826c9b38398cbc306de856c2f109 (diff)
parente40031d1dbd8093e79b2f6705209632b6cf24f19 (diff)
downloadcpython-afd6f63739cba92abc5f23384fbe30980ff25131.zip
cpython-afd6f63739cba92abc5f23384fbe30980ff25131.tar.gz
cpython-afd6f63739cba92abc5f23384fbe30980ff25131.tar.bz2
Merge with 3.4
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index c41735f..0aeca3b 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -3762,7 +3762,7 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
not in the map.
.. 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