From: xatier Date: Mon, 9 Mar 2020 02:58:24 +0000 (-0700) Subject: Fix typo in the parser generator (GH-18603) X-Git-Tag: v3.9.0a5~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7a04a842599c4838a5fdf839842d414a302d7e2;p=thirdparty%2FPython%2Fcpython.git Fix typo in the parser generator (GH-18603) --- diff --git a/Parser/pgen/automata.py b/Parser/pgen/automata.py index d04ca7c6e80b..f2ed221e2852 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)