diff options
-rw-r--r-- | Doc/library/collections.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 2a83d30..495cfc2 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'}) |