Skip to content

Instantly share code, notes, and snippets.

@shomah4a
Created March 13, 2012 11:08
Show Gist options
  • Save shomah4a/2028153 to your computer and use it in GitHub Desktop.
Save shomah4a/2028153 to your computer and use it in GitHub Desktop.
よくはまる例
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