summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-09-09 14:08:23 (GMT)
committerGitHub <noreply@github.com>2019-09-09 14:08:23 (GMT)
commitc638521dbf8862d63151e4b984c9b586a954db4c (patch)
treebceff13e527af718e48af1b6659216cc7680d5c1 /Parser
parentd5fd75c53fad7049fc640c9a6162d35f0c5bea03 (diff)
downloadcpython-c638521dbf8862d63151e4b984c9b586a954db4c.zip
cpython-c638521dbf8862d63151e4b984c9b586a954db4c.tar.gz
cpython-c638521dbf8862d63151e4b984c9b586a954db4c.tar.bz2
Fix typo in the algorithm description (GH-15774)
Diffstat (limited to 'Parser')
-rw-r--r--Parser/pgen/automata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pgen/automata.py b/Parser/pgen/automata.py
index 3147d86..545a737 100644
--- a/Parser/pgen/automata.py
+++ b/Parser/pgen/automata.py
@@ -242,7 +242,7 @@ class DFA:
# Now create new DFAs by visiting all posible transitions between
# the current DFA state and the new power-set states (each nfa_set)
# via the different labels. As the nodes are appended to *states* this
- # is performing a deep-first search traversal over the power-set of
+ # is performing a breadth-first search traversal over the power-set of
# the states of the original NFA.
for label, nfa_set in sorted(arcs.items()):
for exisisting_state in states: