Skip to content

Instantly share code, notes, and snippets.

@sakal
Created March 21, 2012 17:57
Show Gist options
  • Save sakal/2150300 to your computer and use it in GitHub Desktop.
Save sakal/2150300 to your computer and use it in GitHub Desktop.
class A():
def __init__(self):
self._label()
def _label(self):
self.show("A::_label")
def show(self, msg):
print msg
class B(A):
def __init__(self):
A.__init__(self)
def _label(self):
self.show("B::_label")
o=B()
# B::_label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment