[Python-checkins] r82952 - python/branches/py3k/Doc/library/collections.rst
benjamin.peterson
python-checkins at python.org
Sun Jul 18 16:23:36 CEST 2010
Author: benjamin.peterson
Date: Sun Jul 18 16:23:36 2010
New Revision: 82952
Log:
use classmethod
Modified:
python/branches/py3k/Doc/library/collections.rst
Modified: python/branches/py3k/Doc/library/collections.rst
==============================================================================
--- python/branches/py3k/Doc/library/collections.rst (original)
+++ python/branches/py3k/Doc/library/collections.rst Sun Jul 18 16:23:36 2010
@@ -763,7 +763,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