3 ms·
> when was the last time you ever accessed a namedtuple by index If you don't want that, why are you using "Named[ThingWhichWasOnlyAccessibleByIndex]" Use thi
by Redoubts 9y ago
> when was the last time you ever accessed a namedtuple by index
If you don't want that, why are you using "Named[ThingWhichWasOnlyAccessibleByIndex]"
Use this instead, or something
class Struct(object):
def __init__(self, **kwargs):
self.__dict__.update(kwargs)