Inheriting from a namedtuple base class
Inheriting from a namedtuple base class Question: This question is asking the opposite of Inherit namedtuple from a base class in python , where the aim is to inherit a subclass from a namedtuple and not vice versa. In normal inheritance, this works: class Y(object): def __init__(self, a, b, c): self.a = a self.b = …