overriding methods - two questions

Donn Ingle donn.ingle at gmail.com
Fri Nov 16 18:46:42 CET 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