]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in the parser generator (GH-18603)
authorxatier <xatierlike@gmail.com>
Mon, 9 Mar 2020 02:58:24 +0000 (19:58 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Mar 2020 02:58:24 +0000 (02:58 +0000)
Parser/pgen/automata.py

index d04ca7c6e80b561b9c994c14230a8e0d823a27cc..f2ed221e2852c97ee3cd458b5c5e069f8dc00ef7 100644 (file)
@@ -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)