Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c638521d
Commit
c638521d
authored
Sep 09, 2019
by
Pablo Galindo
Committed by
GitHub
Sep 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in the algorithm description (GH-15774)
parent
d5fd75c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Parser/pgen/automata.py
Parser/pgen/automata.py
+1
-1
No files found.
Parser/pgen/automata.py
View file @
c638521d
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment