PyDocs

Nav

Data Types

somenamedtuple._make

collections

classmethod
  • somenamedtuple._make(iterable, /)
Class method that makes a new instance from an existing sequence or iterable.
1 Example
>>> t = [11, 22]
>>> Point._make(t)
Point(x=11, y=22)
from the Python docs
See Also
No see-alsos for collections/somenamedtuple._make
0 Notes
No notes for somenamedtuple._make