Update array_queue.py
This commit is contained in:
parent
2532017ee3
commit
2eaee67c2e
@ -21,7 +21,7 @@ class ArrayQueue:
|
||||
return False
|
||||
else:
|
||||
for i in range(0, self._tail - self._head):
|
||||
self._data[i] = self._items[i + self._head]
|
||||
self._items[i] = self._items[i + self._head]
|
||||
self._tail = self._tail - self._head
|
||||
self._head = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user