From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Sep 2018 02:13:02 +0000 (-0700) Subject: Fix missing line from example shell session (GH-9143) (GH-9155) X-Git-Tag: v3.7.1rc1~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6df2005b3999e6087dc524bfdf27b0dc5896d172;p=thirdparty%2FPython%2Fcpython.git Fix missing line from example shell session (GH-9143) (GH-9155) (cherry picked from commit 2064bb6d576ff7016d59318038779f428b0f0f3f) Co-authored-by: Raymond Hettinger --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 2a83d3037277..495cfc2c234f 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'})