parameters: (self, block=True, timeout=None)
return_statement: return self._queue.popleft()
docstring: Remove and return an item from the queue.
  
          If optional args 'block' is true and 'timeout' is None (the default),
          block if necessary until an item is available. If 'timeout' is
          a non-negative number, it blocks at most 'timeout' seconds and raises
          the Empty exception if no item was available within that time.
          Otherwise ('block' is false), return an item if one is immediately
          available, else raise the Empty exception ('timeout' is ignored
          in that case).
docstring_summary: Remove and return an item from the queue.
docstring_tokens: Remove and return an item from the queue .
function: def get(self, block=True, timeout=None):
          '''Remove and return an item from the queue.
  
          If optional args 'block' is true and 'timeout' is None (the default),
          block if necessary until an item is available. If 'timeout' is
          a non-negative number, it blocks at most 'timeout' seconds and raises
          the Empty exception if no item was available within that time.
          Otherwise ('block' is false), return an item if one is immediately
          available, else raise the Empty exception ('timeout' is ignored
          in that case).
          '''
          if timeout is not None and timeout < 0:
              raise ValueError("'timeout' must be a non-negative number")
          if not self._count.acquire(block, timeout):
              raise Empty
          return self._queue.popleft()
function_tokens: def get ( self , block = True , timeout = None ) : if timeout is not None and timeout < 0 : raise ValueError ( "'timeout' must be a non-negative number" ) if not self . _count . acquire ( block , timeout ) : raise Empty return self . _queue . popleft ( )