mirror of https://github.com/python/cpython.git
Fix typo in the parser generator (GH-18603)
This commit is contained in:
parent
0911ea5c17
commit
d7a04a8425
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue