]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix missing line from example shell session (GH-9143)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Tue, 11 Sep 2018 01:43:08 +0000 (18:43 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Sep 2018 01:43:08 +0000 (18:43 -0700)
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'})