grandparent method with super

Martin Manns mmanns at
Thu Apr 5 22:19:39 CEST 2007


I have a class structure as follows and I would like to invoke the
method A.m() from D.m

class A(object):
	def m(self):
class B(A):
	def m(self):
class C(A):
	def m(self):
class D(B,C):
	def m(self):
		# Call A.m with super?

I have read but
I am still stuck.

Thanks in advance


More information about the Python-list mailing list