]> granicus.if.org Git - python/commitdiff
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from...
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 4 Oct 2012 16:29:25 +0000 (19:29 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 4 Oct 2012 16:29:25 +0000 (19:29 +0300)
Doc/library/collections.rst
Misc/ACKS

index dc76ea5ee36df23e595ee9fe6ea8793e2661d6f2..7979f076f4a8edb52c364ee07cfd67f696d5d67d 100644 (file)
@@ -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
index b137613e071685843e728d1f356de7a5dc22f1e3..da7a434fa50d019631cae7f8fe72a716d3250dd3 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -101,6 +101,7 @@ Ezra Berch
 Michel Van den Bergh
 Julian Berman
 Brice Berna
+Olivier Bernard
 Eric Beser
 Steven Bethard
 Stephen Bevan