From 2064bb6d576ff7016d59318038779f428b0f0f3f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 10 Sep 2018 18:43:08 -0700 Subject: [PATCH] Fix missing line from example shell session (GH-9143) --- Doc/library/collections.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 2a83d303727..495cfc2c234 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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'})