Lets say this is my code:
class Cat: def __init__(self): self.purs = True self.hasFur = True class HairlessCat(Cat): def __init__(self): Cat.__init__(self) jeffery = Cat() bob = HairlessCat() how can I make it so jeffery has fur and bob does not (and all future Cats have fur and HairlessCats don't)?
Update: Not via changing it through HairlessCat but making it so Cat does not give any other classes inheritance towards self.hasFur.
HairyCatand aHairlessCatas distinct subspecies ofCat(or make the base cat hairless and make hairiness an explicit subspecies). With inheritance you want to go more specific in each child, not roll back previous declarations of the parent.