Unverified Kaydet (Commit) 2064bb6d authored tarafından Raymond Hettinger's avatar Raymond Hettinger Kaydeden (comit) GitHub

Fix missing line from example shell session (GH-9143)

üst ffa198c6
...@@ -198,6 +198,7 @@ updates keys found deeper in the chain:: ...@@ -198,6 +198,7 @@ updates keys found deeper in the chain::
>>> d['lion'] = 'orange' # update an existing key two levels down >>> d['lion'] = 'orange' # update an existing key two levels down
>>> d['snake'] = 'red' # new keys get added to the topmost dict >>> d['snake'] = 'red' # new keys get added to the topmost dict
>>> del d['elephant'] # remove an existing key one level down >>> del d['elephant'] # remove an existing key one level down
>>> d # display result
DeepChainMap({'zebra': 'black', 'snake': 'red'}, {}, {'lion': 'orange'}) DeepChainMap({'zebra': 'black', 'snake': 'red'}, {}, {'lion': 'orange'})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment