]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix missing line from example shell session (GH-9143) (GH-9155)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Sep 2018 02:13:02 +0000 (19:13 -0700)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Tue, 11 Sep 2018 02:13:02 +0000 (19:13 -0700)
(cherry picked from commit 2064bb6d576ff7016d59318038779f428b0f0f3f)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Doc/library/collections.rst

index 2a83d30372770babc84cbea947d66dfcff0e9ea3..495cfc2c234f75624f51e67ce792093d4be70908 100644 (file)
@@ -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'})