def bpopleft(self, timeout=0):
        """
        Remove the first item from the list, blocking until an item becomes
        available or timeout is reached (0 for no timeout, default).
        """
        ret = self.database.blpop(self.key, timeout)
        if ret is not None:
            return ret[1]
def bpopleft ( self , timeout = 0 ) : ret = self . database . blpop ( self . key , timeout ) if ret is not None : return ret [ 1 ]
Remove the first item from the list, blocking until an item becomes
        available or timeout is reached (0 for no timeout, default).