Created
August 20, 2015 09:20
-
-
Save ressu/bc10f9032a8c9face5aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Class1: | |
def __init__(self, arg1, arg2): | |
print "Would do stuff with %s and %s" % (arg1, arg2) | |
class Class2(Class1): | |
def do_something(self): | |
print "I would do something else" | |
class Class3(Class1): | |
def __init__(self, arg1, arg2): | |
Class1.__init__(self, arg1, arg2) | |
def do_something(self): | |
print "I would do something else" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment