def _instant_search(self):
        """Determine possible keys after a push or pop
        """
        _keys = []
        for k,v in self.searchables.iteritems():
            if self.string in v:
                _keys.append(k)
        self.candidates.append(_keys)
def _instant_search ( self ) : _keys = [ ] for k , v in self . searchables . iteritems ( ) : if self . string in v : _keys . append ( k ) self . candidates . append ( _keys )
Determine possible keys after a push or pop