Daniel Fetchinson <[email protected]> wrote: > > class child1( parent1 ): > def meth( self ): > # do something c > super( parent1, self ).meth( ) # I want to invoke meth on > grandparent
So just call:
grandparent.meth(self)
If you want to ignore the inheritance hierarchy then go ahead and ignore
it. Only use super if you want to respect your parents. :)
--
Duncan Booth http://kupuguy.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
