parameters: (self, keys, timeout=0)
return_statement: return self.execute_command('BRPOP', *keys)
docstring: RPOP a value off of the first non-empty list
          named in the ``keys`` list.
  
          If none of the lists in ``keys`` has a value to LPOP, then block
          for ``timeout`` seconds, or until a value gets pushed on to one
          of the lists.
  
          If timeout is 0, then block indefinitely.
docstring_summary: RPOP a value off of the first non-empty list
          named in the ``keys`` list.
docstring_tokens: RPOP a value off of the first non - empty list named in the keys list .
function: def brpop(self, keys, timeout=0):
          """
          RPOP a value off of the first non-empty list
          named in the ``keys`` list.
  
          If none of the lists in ``keys`` has a value to LPOP, then block
          for ``timeout`` seconds, or until a value gets pushed on to one
          of the lists.
  
          If timeout is 0, then block indefinitely.
          """
          if timeout is None:
              timeout = 0
          if isinstance(keys, basestring):
              keys = [keys]
          else:
              keys = list(keys)
          keys.append(timeout)
          return self.execute_command('BRPOP', *keys)
function_tokens: def brpop ( self , keys , timeout = 0 ) : if timeout is None : timeout = 0 if isinstance ( keys , basestring ) : keys = [ keys ] else : keys = list ( keys ) keys . append ( timeout ) return self . execute_command ( 'BRPOP' , * keys )