diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-04 19:29:25 +0300 |
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-04 19:29:25 +0300 |
| commit | 1a8db9cd1df9026713503468053b903e616fd148 (patch) | |
| tree | bd49877e45b227b0cd1e74e529c4290996ac725c | |
| parent | 6e1d2b6e7889a138c02c027f8c3dce6ead62e3cf (diff) | |
| download | cpython-git-1a8db9cd1df9026713503468053b903e616fd148.tar.gz | |
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
| -rw-r--r-- | Doc/library/collections.rst | 2 | ||||
| -rw-r--r-- | Misc/ACKS | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index dc76ea5ee3..7979f076f4 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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 @@ -101,6 +101,7 @@ Ezra Berch Michel Van den Bergh Julian Berman Brice Berna +Olivier Bernard Eric Beser Steven Bethard Stephen Bevan |
