[Python-checkins] cpython: Use correct directive to document one method
eric.araujo
python-checkins at python.org
Sat Jun 11 20:01:45 CEST 2011
http://hg.python.org/cpython/rev/c16236c00fd8
changeset: 70793:c16236c00fd8
user: Éric Araujo <merwok at netwok.org>
date: Sat Jun 11 03:27:03 2011 +0200
summary:
Use correct directive to document one method
files:
Doc/library/collections.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -83,7 +83,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list