diff --git a/Parser/pgen/automata.py b/Parser/pgen/automata.py index d04ca7c6e80..f2ed221e285 100644 --- a/Parser/pgen/automata.py +++ b/Parser/pgen/automata.py @@ -236,7 +236,7 @@ def add_closure(nfa_state, base_nfa_set): if nfa_arc.label is None: add_closure(nfa_arc.target, base_nfa_set) - # Calculte the epsilon-closure of the starting state + # Calculate the epsilon-closure of the starting state base_nfa_set = set() add_closure(nfa.start, base_nfa_set)