mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merged revisions 82952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82952 | benjamin.peterson | 2010-07-18 09:23:36 -0500 (Sun, 18 Jul 2010) | 1 line use classmethod ........
This commit is contained in:
parent
cac0b83b35
commit
682f60352e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
three additional methods and one attribute. To prevent conflicts with
|
||||||
field names, the method and attribute names start with an underscore.
|
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.
|
Class method that makes a new instance from an existing sequence or iterable.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue