From: Benjamin Peterson Date: Sun, 18 Jul 2010 14:23:36 +0000 (+0000) Subject: use classmethod X-Git-Tag: v3.2a1~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b9fb808a0d28ec42175299bea45077e5c070873;p=thirdparty%2FPython%2Fcpython.git use classmethod --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index d084179ca7b6..222c2481b42c 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -763,7 +763,7 @@ In addition to the methods inherited from tuples, named tuples support 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.