class_docstr: A coroutine wrapped in a Future.
docstr: Return the count of the task's cancellation requests.
  
  This count is incremented when .cancel() is called
  and may be decremented using .uncancel().
docstr_tok: ["Return","the","count","of","the","task","'s","cancellation","requests",".","This","count","is","incremented","when",".cancel","(",")","is","called","and","may","be","decremented","using",".uncancel","(",")","."]
code: def cancelling(self):
      """Return the count of the task's cancellation requests.
  
      This count is incremented when .cancel() is called
      and may be decremented using .uncancel().
      """
      return self._num_cancels_requested
  
imports: import concurrent.futures
  import contextvars
  import functools
  import inspect
  import itertools
  import types
  import warnings
  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 .coroutines import _is_coroutine
label_desc: Use image node_id 12 for calling the Task obj's underlying member method code with example usage: obj.cancelling() and returns: self