From: Éric Araujo Date: Sat, 11 Jun 2011 01:27:03 +0000 (+0200) Subject: Use correct directive to document one method X-Git-Tag: v3.3.0a1~2129^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ebadd5d8da049d3ca23737db0312bde6fdaa79f;p=python Use correct directive to document one method --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 6c9b1e58f9..39a03dd988 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