collections.py 60 B

1234
  1. class deque(list):
  2. def popleft(self):
  3. return self.pop(0)