pop() Remove and return an element from the right side of the deque. If no elements are present, raises an IndexError.
maxlen Maximum size of a deque or None if unbounded. New in version 3.1.
insert(i, x) Insert x into the deque at position i. If the insertion would cause a bounded deque to grow beyond maxlen, an IndexError is raised. New in version 3.5.
index(x[, start[, stop]]) Return the position of x in the deque (at or after index start and before index stop). Returns the first match or raises ValueError if not found. New in version 3.5.
extendleft(iterable) Extend the left side of the deque by appending elements from iterable. Note, the series of left appends results in reversing the order of elements in the iterable argument.
extend(iterable) Extend the right side of the deque by appending elements from the iterable argument.
count(x) Count the number of deque elements equal to x. New in version 3.2.
copy() Create a shallow copy of the deque. New in version 3.5.
clear() Remove all elements from the deque leaving it with length 0.
appendleft(x) Add x to the left side of the deque.
Page 582 of 663