(self)
return len(self._deque)
Number of elements in queue.
Number of elements in queue.
Number of elements in queue .
def __len__(self):
        """Number of elements in queue."""
        self._check_expired()
        return len(self._deque)
def __len__ ( self ) : self . _check_expired ( ) return len ( self . _deque )