class_docstr: Class which supports object finalization using weakrefs
class_docstr_tok: ["Class","which","supports","object","finalization","using","weakrefs"]
docstr: Cancel finalization of the object
docstr_tok: ["Cancel","finalization","of","the","object"]
code: def cancel(self):
      """
      Cancel finalization of the object
      """
      try:
          del _finalizer_registry[self._key]
      except KeyError:
          pass
      else:
          self._weakref = (
              self._callback
          ) = self._args = self._kwargs = self._key = None
  
imports: import os
  import itertools
  import sys
  import weakref
  import atexit
  import threading
  from subprocess import _args_from_interpreter_flags
  from .None import process
label_desc: Use image node_id 3 for calling the Finalize obj's underlying member method code with example usage: obj.cancel() without return types