Steven D'Aprano <[EMAIL PROTECTED]> writes: > A basic usage case: > > class Paper: > size = A4 > def __init__(self, contents): > # it makes no sense to have class contents, > # so contents go straight into the instance > self.contents = contents
So add: self.size = Paper.size and you've removed the weirdness. What do you gain here by inheriting? -- http://mail.python.org/mailman/listinfo/python-list