def __init__(self, capacity, fill_value=None): Array.__init__(self, capacity, fill_value) self.top_index = self.__len__() - 1 self.size = 0