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