code: def remove_callback(obj, handle):
      
      callbacks = obj._callbacks
      if callbacks is handle:
          obj._callbacks = None
      elif isinstance(callbacks, dllist):
          callbacks.remove(handle)
          if not callbacks:
              obj._callbacks = None
docs: Remove a callback from an object.