code: def _target(queue, function, *args, **kwargs):
      
      try:
          queue.put((True, function(*args, **kwargs)))
      except:
          queue.put((False, sys.exc_info()[1]))
docs: Run a function with arguments and return output via a queue.
  
      This is a helper function for the Process created in _Timeout. It runs
      the function with positional arguments and keyword arguments and then
      returns the function's output by way of a queue. If an exception gets
      raised, it is returned to _Timeout to be raised by the value property.