summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:05:24 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:05:24 (GMT)
commit89e84e7523755faad1cc64ddb9f74a22a63135b1 (patch)
tree53a9c99c3fc2a4d6535b7b806beec5f26b06ca0a /Doc/library/collections.rst
parent7ceb378b8d65de833746145d279959198d199540 (diff)
parentf47036c1309536c048890c265605b06daf7bdc9c (diff)
downloadcpython-89e84e7523755faad1cc64ddb9f74a22a63135b1.zip
cpython-89e84e7523755faad1cc64ddb9f74a22a63135b1.tar.gz
cpython-89e84e7523755faad1cc64ddb9f74a22a63135b1.tar.bz2
Removed spaces before colons and semicolons.
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 80c6c76..9948355 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -193,7 +193,7 @@ updates keys found deeper in the chain::
return
raise KeyError(key)
- >>> d = DeepChainMap({'zebra': 'black'}, {'elephant' : 'blue'}, {'lion' : 'yellow'})
+ >>> d = DeepChainMap({'zebra': 'black'}, {'elephant': 'blue'}, {'lion': 'yellow'})
>>> d['lion'] = 'orange' # update an existing key two levels down
>>> d['snake'] = 'red' # new keys get added to the topmost dict
>>> del d['elephant'] # remove an existing key one level down