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 __repr__(self):
      info = [""]
      if self._tasks:
          info.append(f"tasks={len(self._tasks)}")
      if self._errors:
          info.append(f"errors={len(self._errors)}")
      if self._aborting:
          info.append("cancelling")
      elif self._entered:
          info.append("entered")
  
      info_str = " ".join(info)
      return f"<TaskGroup{info_str}>"
  
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 2 for calling the TaskGroup obj's underlying member method code with example usage: obj.__repr__() and returns: str, info_str, str