summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-04 16:29:25 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-04 16:29:25 (GMT)
commit1a8db9cd1df9026713503468053b903e616fd148 (patch)
treebd49877e45b227b0cd1e74e529c4290996ac725c /Doc/library/collections.rst
parent6e1d2b6e7889a138c02c027f8c3dce6ead62e3cf (diff)
downloadcpython-1a8db9cd1df9026713503468053b903e616fd148.zip
cpython-1a8db9cd1df9026713503468053b903e616fd148.tar.gz
cpython-1a8db9cd1df9026713503468053b903e616fd148.tar.bz2
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
Diffstat (limited to 'Doc/library/collections.rst')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index dc76ea5..7979f07 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