Skip to content

Commit

Permalink
Fix missing line from example shell session (GH-9143) (GH-9156)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2064bb6)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
  • Loading branch information
miss-islington and rhettinger committed Sep 11, 2018
1 parent c0db817 commit 3cb90d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Doc/library/collections.rst
Expand Up @@ -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'})


Expand Down

0 comments on commit 3cb90d1

Please sign in to comment.