def __init__(self, method, attribute_names = None): AbstractCodeMethodWrapper.__init__(self, method) if attribute_names is None: self._attribute_names = [] else: self._attribute_names = attribute_names
def __init__(self, method, public_name = None): AbstractCodeMethodWrapper.__init__(self, method) self.public_name = public_name