def upd(self, rental): Repository.upd(self, rental) self.__storeToFile()
def upd(self, book): Repository.upd(self, book) self.__storeToFile()