[Python-checkins] cpython (3.3): Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard

andrew.svetlov python-checkins at python.org
Thu Oct 4 18:30:06 CEST 2012


http://hg.python.org/cpython/rev/87e4fdaa60bc
changeset:   79454:87e4fdaa60bc
branch:      3.3
parent:      79452:0fc259ac8733
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Thu Oct 04 19:29:25 2012 +0300
summary:
  Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@

files:
  Doc/library/collections.rst |  2 +-
  Misc/ACKS                   |  1 +
  2 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -159,7 +159,7 @@
 
         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
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -101,6 +101,7 @@
 Michel Van den Bergh
 Julian Berman
 Brice Berna
+Olivier Bernard
 Eric Beser
 Steven Bethard
 Stephen Bevan

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list