Skip to content

Instantly share code, notes, and snippets.

@fsouza
Created April 20, 2011 16:33
Show Gist options
  • Save fsouza/931847 to your computer and use it in GitHub Desktop.
Save fsouza/931847 to your computer and use it in GitHub Desktop.
class A(object):
def falar(self):
print 'Falou'
class B(A):
def falar(self):
super(B, self).falar()
class C(A):
def falar(self):
super(C, self).falar()
class D(B, C):
def falar(self):
super(D, self).falar()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment