(self, dbname, channel='*')
Stop connection for listening on specific event channel.

        Listening will stop on next .get_database() call.
Stop connection for listening on specific event channel.
Stop connection for listening on specific event channel .
def unlisten(self, dbname, channel='*'):
        """Stop connection for listening on specific event channel.

        Listening will stop on next .get_database() call.
        """
        if dbname not in self._listen_map:
            return
        if channel == '*':
            del self._listen_map[dbname]
            return
        clist = self._listen_map[dbname]
        try:
            clist.remove(channel)
        except ValueError:
            pass
def unlisten ( self , dbname , channel = '*' ) : if dbname not in self . _listen_map : return if channel == '*' : del self . _listen_map [ dbname ] return clist = self . _listen_map [ dbname ] try : clist . remove ( channel ) except ValueError : pass