class_docstr: A coroutine wrapped in a Future.
class_docstr_tok: ["A","coroutine","wrapped","in","a","Future","."]
code: def set_exception(self, exception):
      raise RuntimeError(
          "Task does not support set_exception operation"
      )
  
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 9 for calling the Task obj's underlying member method code with example usage: obj.set_exception(exception) without return types