diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index dd3e5a49f70..14539be6cc2 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -787,7 +787,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.