Carl Banks wrote: > x = random.choice([Triange(),Square()]) > print x.draw.__doc__ # prints "Draws a shape" > > Quick, what shape is x.draw() going to draw? Your debugging code is insufficient. It should include print type(x) and then it will be obvious what shape is going to get drawn. -- Greg