mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Fix typo in the parser generator (GH-18603)
This commit is contained in:
parent
0911ea5c17
commit
d7a04a8425
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ class DFA:
|
|||
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…
Add table
Add a link
Reference in a new issue