code: def _leave_task(loop, task):
      current_task = _current_tasks.get(loop)
      if current_task is not task:
          raise RuntimeError(
              f"Leaving task {task!r} does not match "
              f"the current task {current_task!r}."
          )
      del _current_tasks[loop]
  
imports: import concurrent.futures
  import contextvars
  import functools
  import inspect
  import itertools
  import math
  import types
  import weakref
  from types import GenericAlias
  from .None import base_tasks
  from .None import coroutines
  from .None import events
  from .None import exceptions
  from .None import futures
  from .None import timeouts
label_desc: Use image node_id 15 for calling a global function with example usage: _leave_task(loop, task) without return types