8000 Fix missing line from example shell session (GH-9143) (GH-9155) · python/cpython@6df2005 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 6df2005

Browse files
Fix missing line from example shell session (GH-9143) (GH-9155)
(cherry picked from commit 2064bb6) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
1 parent 037582e commit 6df2005

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/library/collections.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ updates keys found deeper in the chain::
198198
>>> d['lion'] = 'orange' # update an existing key two levels down
199199
>>> d['snake'] = 'red' # new keys get added to the topmost dict
200200
>>> del d['elephant'] # remove an existing key one level down
201+
>>> d # display result
201202
DeepChainMap({'zebra': 'black', 'snake': 'red'}, {}, {'lion': 'orange'})
202203

203204

0 commit comments

Comments
 (0)
0