class_docstr: Asynchronous context manager for managing groups of tasks.
  
  Example use:
  
      async with asyncio.TaskGroup() as group:
          task1 = group.create_task(some_coroutine(...))
          task2 = group.create_task(other_coroutine(...))
      print("Both tasks have completed now.")
  
  All tasks are awaited when the context manager exits.
  
  Any exceptions other than `asyncio.CancelledError` raised within
  a task will cancel all remaining tasks and wait for them to exit.
  The exceptions are then combined and raised as an `ExceptionGroup`.
code: def _is_base_error(self, exc: BaseException) -> bool:
      assert isinstance(exc, BaseException)
      return isinstance(exc, (SystemExit, KeyboardInterrupt))
  
file_path: catboost/contrib/tools/python3/src/Lib/asyncio/taskgroups.py
imports: from .None import events
  from .None import exceptions
  from .None import tasks
label_desc: Use image node_id 4 for calling the TaskGroup obj's underlying member method code with example usage: obj._is_base_error(exc) and returns: isinstance