def getReceivers(sender=Any, signal=Any):
 existing = connections.get(id(sender))
 if (existing is not None):
  return existing.get(signal, [])
 return []

def getReceivers ( sender = Any , signal = Any ) : existing = connections . get ( id ( sender ) ) if ( existing is not None ) : return existing . get ( signal , [ ] ) return [ ]
get list of receivers from global tables this utility function allows you to retrieve the raw list of receivers from the connections table for the given sender and signal pair .