From 0b9fb808a0d28ec42175299bea45077e5c070873 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 18 Jul 2010 14:23:36 +0000 Subject: use classmethod --- Doc/library/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index d084179..222c248 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. -- cgit v0.12