Created
January 14, 2014 14:09
-
-
Save jdswinbank/8418826 to your computer and use it in GitHub Desktop.
This file contains 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 MyClass(object): | |
def method1(self): | |
print "super m1" | |
class OtherSuperclass(object): | |
def method1(self): | |
print "other m1" | |
class MySub(MyClass, OtherSuperclass): | |
pass | |
if __name__ == "__main__": | |
MySub().method1() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment