def __eq__(self, other):
    return ((type(self) == type(other)) and (self.function_name == other.function_name) and (self.code is other.code))
def __eq__(self, other):
    return ((type(self) == type(other)) and (self.function_name == other.function_name) and (self.code is other.code))