Skip to content

    namedtuple

    Created by
    caputomarcos
    caputomarcos

    The namedtuple class is a factory function that allows you to create tuple subclasses with named fields. You can create a namedtuple class by passing a name and a list of field names as arguments to the factory function. The return type of namedtuple is a new subclass of tuple with named fields.

    Preview