]> granicus.if.org Git - python/commitdiff
Use correct directive to document one method
authorÉric Araujo <merwok@netwok.org>
Sat, 11 Jun 2011 01:27:03 +0000 (03:27 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 11 Jun 2011 01:27:03 +0000 (03:27 +0200)
Doc/library/collections.rst

index 6c9b1e58f9299bb56b94dbd3789b818b322b4146..39a03dd988e13d0ee5637043be04c1c8ad49c9d3 100644 (file)
@@ -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