def transitions(self, state):
        return set(c for (i,c) in enumerate(self.string) if state[i] <= self.max_edits)
dataset/ETHPy150Open julesjacobs/levenshtein/levenshtein.py/LevenshteinAutomaton.transitions/original