code: def set_interactive_policy(*, locals=None, banner=None, serve=None,
                             prompt_control=None):
      
      policy = InteractiveEventLoopPolicy(
          locals=locals,
          banner=banner,
          serve=serve,
          prompt_control=prompt_control)
      asyncio.set_event_loop_policy(policy)
docs: Use an interactive event loop by default.