lisa.utils.namedtuple#
- lisa.utils.namedtuple(*args, module, **kwargs)[source]#
Same as
collections.namedtuple()
, withcollections.abc.Mapping
behaviour.Warning
Iterating over instances will yield the field names rather the values, unlike regular
collections.namedtuple()
.- Parameters:
module (str) – Name of the module the type is defined in.