parameters: (*args, **kwargs)
return_statement: return _Event(*args, **kwargs)
docstring: A factory function that returns a new event.
  
      Events manage a flag that can be set to true with the set() method and reset
      to false with the clear() method. The wait() method blocks until the flag is
      true.
docstring_summary: A factory function that returns a new event.
docstring_tokens: A factory function that returns a new event .
function: def Event(*args, **kwargs):
      """A factory function that returns a new event.
  
      Events manage a flag that can be set to true with the set() method and reset
      to false with the clear() method. The wait() method blocks until the flag is
      true.
  
      """
      return _Event(*args, **kwargs)
function_tokens: def Event ( * args , * * kwargs ) : return _Event ( * args , * * kwargs )