mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix missing line from example shell session (GH-9143)
This commit is contained in:
parent
ffa198c642
commit
2064bb6d57
1 changed files with 1 additions and 0 deletions
|
@ -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'})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue