class A(object):
  def __init__(self):
    self.x = 1

class B(object):
  def __init__(self):
    self.y = 2

class C(A, B):
  pass

print(C().y)