[Python-checkins] cpython (3.4): Issue #23006 whitespace
terry.reedy
python-checkins at python.org
Thu Dec 11 00:50:55 CET 2014
https://hg.python.org/cpython/rev/41b172fd4479
changeset: 93823:41b172fd4479
branch: 3.4
parent: 93821:31875b244bdf
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Wed Dec 10 18:48:23 2014 -0500
summary:
Issue #23006 whitespace
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