overriding methods - two questions

Donn Ingle donn.ingle at gmail.com
Fri Nov 16 12:46:42 EST 2007


> for child in self.childrens:
> if 'foo' in child.__class__.__dict__:
> child.foo()
Bruno, you're the man! I really must take the time to look into all those
under-under score things! 

Thanks.

/d




More information about the Python-list mailing list