summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2018-09-11 01:43:08 (GMT)
committerGitHub <noreply@github.com>2018-09-11 01:43:08 (GMT)
commit2064bb6d576ff7016d59318038779f428b0f0f3f (patch)
treed1dae548718c813016485689e25051c4e307c5dd /Doc
parentffa198c642f9c67b84ef192bf0f7016c4249e570 (diff)
downloadcpython-2064bb6d576ff7016d59318038779f428b0f0f3f.zip
cpython-2064bb6d576ff7016d59318038779f428b0f0f3f.tar.gz
cpython-2064bb6d576ff7016d59318038779f428b0f0f3f.tar.bz2
Fix missing line from example shell session (GH-9143)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 2a83d30..495cfc2 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -198,6 +198,7 @@ updates keys found deeper in the chain::
>>> 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
+ >>> d # display result
DeepChainMap({'zebra': 'black', 'snake': 'red'}, {}, {'lion': 'orange'})