> Alan Gauld wrote: > > >class C: > > self.d = [...] > > > > This can't work, because at this point in time, 'self' does not exist. Whoops, it was supposed to be inside a def __init__...! Mea culpa, Alan G