diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-12-10 23:48:23 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-12-10 23:48:23 (GMT) |
commit | 06c6218d00204941006214d9a1fdc25b38ea8a0a (patch) | |
tree | e52104b36f72c172e5dd81b49416c8966cbec9e1 /Doc | |
parent | b67f6e27e11264876e185cacd8ebabbf41c27fb0 (diff) | |
download | cpython-06c6218d00204941006214d9a1fdc25b38ea8a0a.zip cpython-06c6218d00204941006214d9a1fdc25b38ea8a0a.tar.gz cpython-06c6218d00204941006214d9a1fdc25b38ea8a0a.tar.bz2 |
Issue #23006 whitespace
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index e076cbb..1e34b51 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 |