Skip to content

Commit d7a04a8

Browse files
authored
Fix typo in the parser generator (GH-18603)
1 parent 0911ea5 commit d7a04a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/pgen/automata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def add_closure(nfa_state, base_nfa_set):
236236
if nfa_arc.label is None:
237237
add_closure(nfa_arc.target, base_nfa_set)
238238

239-
# Calculte the epsilon-closure of the starting state
239+
# Calculate the epsilon-closure of the starting state
240240
base_nfa_set = set()
241241
add_closure(nfa.start, base_nfa_set)
242242

0 commit comments

Comments
 (0)