about collections.deque in Python

Pythonのcollections.deque