[Python-checkins] r82953 - in python/branches/release27-maint: Doc/library/collections.rst
benjamin.peterson
python-checkins at python.org
Sun Jul 18 16:26:35 CEST 2010
Author: benjamin.peterson
Date: Sun Jul 18 16:26:34 2010
New Revision: 82953
Log:
Merged revisions 82952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82952 | benjamin.peterson | 2010-07-18 09:23:36 -0500 (Sun, 18 Jul 2010) | 1 line
use classmethod
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Doc/library/collections.rst
Modified: python/branches/release27-maint/Doc/library/collections.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/collections.rst (original)
+++ python/branches/release27-maint/Doc/library/collections.rst Sun Jul 18 16:26:34 2010
@@ -787,7 +787,7 @@
three additional methods and one attribute. To prevent conflicts with
field names, the method and attribute names start with an underscore.
-.. method:: somenamedtuple._make(iterable)
+.. classmethod:: somenamedtuple._make(iterable)
Class method that makes a new instance from an existing sequence or iterable.
More information about the Python-checkins
mailing list