summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-11 01:27:03 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-11 01:27:03 (GMT)
commit7ebadd5d8da049d3ca23737db0312bde6fdaa79f (patch)
tree0c2d0c3d39e838358b637985cada994ad41a602b /Doc/library/collections.rst
parent643cb7345f66f0d9dbc1066567ffb1d519026388 (diff)
downloadcpython-7ebadd5d8da049d3ca23737db0312bde6fdaa79f.zip
cpython-7ebadd5d8da049d3ca23737db0312bde6fdaa79f.tar.gz
cpython-7ebadd5d8da049d3ca23737db0312bde6fdaa79f.tar.bz2
Use correct directive to document one method
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 6c9b1e5..39a03dd 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -83,7 +83,7 @@ The class can be used to simulate nested scopes and is useful in templating.
creating subcontexts that can be updated without altering values in any
of the parent mappings.
- .. attribute:: parents()
+ .. method:: parents()
Returns a new :class:`ChainMap` containing all of the maps in the current
instance except the first one. This is useful for skipping the first map