def __iadd__(self, other): add(self.array, other, self.array) return self
def __iadd__(self, other): with open("./log/log7.txt", "a") as file_log: file_log.write("iadd 1 is used \n") add(self.array, other, self.array) return self