def __init__(self, fmtstring, *args, **lambda_subs): WithProperties.__init__(self, fmtstring, *args, **lambda_subs)
def __init__(self, items): """items should be a list.""" # Dummy initialization. WithProperties.__init__(self, '') self.items = items