(policy)
Set the current event loop policy.

    If policy is None, the default policy is restored.
Set the current event loop policy.
Set the current event loop policy .
def set_event_loop_policy(policy):
    """Set the current event loop policy.

    If policy is None, the default policy is restored."""
    global _event_loop_policy
    assert policy is None or isinstance(policy, AbstractEventLoopPolicy)
    _event_loop_policy = policy
def set_event_loop_policy ( policy ) : global _event_loop_policy assert policy is None or isinstance ( policy , AbstractEventLoopPolicy ) _event_loop_policy = policy