From d7a04a842599c4838a5fdf839842d414a302d7e2 Mon Sep 17 00:00:00 2001 From: xatier Date: Sun, 8 Mar 2020 19:58:24 -0700 Subject: Fix typo in the parser generator (GH-18603) --- Parser/pgen/automata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/pgen/automata.py b/Parser/pgen/automata.py index d04ca7c..f2ed221 100644 --- a/Parser/pgen/automata.py +++ b/Parser/pgen/automata.py @@ -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) -- cgit v0.12