class_docstr: Default CommManager singleton implementation for Comms in the Kernel
class_docstr_tok: ["Default","CommManager","singleton","implementation","for","Comms","in","the","Kernel"]
docstr: Unregister a callable registered with register_target
docstr_tok: ["Unregister","a","callable","registered","with","register_target"]
code: def unregister_target(
      self, target_name: str, f: CommTargetCallback
  ) -> CommTargetCallback:  # noqa: ARG002
      """Unregister a callable registered with register_target"""
      return self.targets.pop(target_name)
  
imports: from __future__ import annotations
  import contextlib
  import logging
  import typing
  import uuid
  from traitlets.utils.importstring import import_item
  import comm
label_desc: Use image node_id 3 for calling the CommManager obj's underlying member method code with example usage: obj.unregister_target(target_name, f) and returns: self