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

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

index 82ba0573741390ee08fdeba8d5ad13d69b6246ee..25687348d16deef961c4032c41f1198184f89023 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'})