def __init__(self, over, under): Top.__init__(self, find_bounding_box(over + under)) from block import Block self.over = Block(over) self.under = Block(under)
def __init__(self, children): Top.__init__(self, find_bounding_box(children)) self.children = children
def __init__(self, bounding_rectangle): Top.__init__(self, bounding_rectangle)