summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-07-18 14:23:36 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-07-18 14:23:36 (GMT)
commit0b9fb808a0d28ec42175299bea45077e5c070873 (patch)
tree13143abc484f5351c5f906921bf90148e3ab8035
parent86e78d1f2d2645bfd3e65ed3a0693e888e61ff00 (diff)
downloadcpython-0b9fb808a0d28ec42175299bea45077e5c070873.zip
cpython-0b9fb808a0d28ec42175299bea45077e5c070873.tar.gz
cpython-0b9fb808a0d28ec42175299bea45077e5c070873.tar.bz2
use classmethod
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
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.