class_docstr: Helper for gather().
  
  This overrides cancel() to cancel all the children and act more
  like Task.cancel(), which doesn't immediately mark itself as
  cancelled.
class_docstr_tok: ["Helper","for","gather","(",")",".","This","overrides","cancel","(",")","to","cancel","all","the","children","and","act","more","like","Task.cancel","(",")",",","which","does","n't","immediately","mark","itself","as","cancelled","."]
code: def __init__(self, children, *, loop):
      assert loop is not None
      super().__init__(loop=loop)
      self._children = children
      self._cancel_requested = False
  
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 1 to create a new _GatheringFuture object from inherited base classes: futures with example: obj = _GatheringFuture(children)