original_docstring: 
          Return first item from queue without removing it
  
          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). Default sleep time is a tenth of a second.
          
docstring: Return first item from queue without removing it
  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). Default sleep time is a tenth of a second.
docstring_tokens: Return first item from queue without removing it 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 ) . Default sleep time is a tenth of a second .
code: def peek(self, block=True, timeout=None):
          """
          Return first item from queue without removing it
  
          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). Default sleep time is a tenth of a second.
          """
          if not block or timeout is not None:
              self._peek(block, timeout)
          else:  # We would normally have blocking behavior
              while not self.end_while_predicate():
                  try:
                      datum = self._peek(block=True, timeout=self.sleep_time)
                      return datum
                  except queue.Empty:
                      pass
              sys.exit()
code_tokens: def peek ( self , block = True , timeout = None ) : if not block or timeout is not None : self . _peek ( block , timeout ) else : while not self . end_while_predicate ( ) : try : datum = self . _peek ( block = True , timeout = self . sleep_time ) return datum except queue . Empty : pass sys . exit ( )
short_docstring: Return first item from queue without removing it
  If optional args 'block' is true and 'timeout' is None (the default),
  block if necessary until an item is available.
short_docstring_tokens: Return first item from queue without removing it If optional args ' block ' is true and ' timeout ' is None ( the default ) block if necessary until an item is available .
comment: """
          Return first item from queue without removing it
  
          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). Default sleep time is a tenth of a second.
          """$SEP$# We would normally have blocking behavior