def __init__(self, style, rep_details, block_details): self.details = rep_details self.block_details = block_details Block.__init__(self, rep_details, style, self.details.style_role, block_details.Name) self.applyStyle()
def __init__(self, style, details): # TODO: Take into account the anchor position self.details = details Block.__init__(self, details, style, details.style_role, details.Description) self.applyStyle()