def METHOD_NAME(self, robj):
    # this is called when an object that has subscribed to events emitted
    # here has recently been garbage collected
    # This simply removes all callback methods associated with that object
    # Also if no more callbacks at all for an event name it deletes the event entry
    remove = set()
    for name, bucket in self._signals.items():
        if robj in bucket:
            del bucket[robj]
        if len(bucket) == 0:
            remove.add(name)
    for name in remove:
        del self._signals[name]