changeset: 93823:41b172fd4479 branch: 3.4 parent: 93821:31875b244bdf user: Terry Jan Reedy date: Wed Dec 10 18:48:23 2014 -0500 files: Doc/library/stdtypes.rst description: Issue #23006 whitespace diff -r 31875b244bdf -r 41b172fd4479 Doc/library/stdtypes.rst --- a/Doc/library/stdtypes.rst Wed Dec 10 18:38:19 2014 -0500 +++ b/Doc/library/stdtypes.rst Wed Dec 10 18:48:23 2014 -0500 @@ -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