Created
March 13, 2012 11:08
-
-
Save shomah4a/2028153 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 Base(object): | |
def __init__(self, arg): | |
self.arg = arg | |
class BaseL(object): | |
def __init__(self, arg): | |
super(BaseL, self).__init__(arg) | |
class BaseR(object): | |
def __init__(self, arg1, arg2): | |
super(BaseR, self).__init__(arg1) | |
class LR(object): | |
def __init__(self): | |
super(LR, self).__init__(10) | |
if __name__ == '__main__': | |
o = LR() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment