def disconnect(callback):
    # This is basically what `disconnect_from` does, but that method guards against
    # callbacks not responding to signal arguments. We don't need that because we're
    # disconnecting all the valid ones here
    for signal in signals(callback):
        receivers[signal].remove(callback)
Removes a callback from all signal registries and prevents it from responding
dataset/ETHPy150Open shaunduncan/smokesignal/smokesignal.py/disconnect