mirror of https://github.com/python/cpython
Merge: Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
This commit is contained in:
commit
693105e07f
|
@ -159,7 +159,7 @@ contexts::
|
|||
|
||||
d['x'] # Get first key in the chain of contexts
|
||||
d['x'] = 1 # Set value in current context
|
||||
del['x'] # Delete from current context
|
||||
del d['x'] # Delete from current context
|
||||
list(d) # All nested values
|
||||
k in d # Check all nested values
|
||||
len(d) # Number of nested values
|
||||
|
|
Loading…
Reference in New Issue