mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix typo in the algorithm description (GH-15774)
This commit is contained in:
		
							parent
							
								
									d5fd75c53f
								
							
						
					
					
						commit
						c638521dbf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -242,7 +242,7 @@ def add_closure(nfa_state, base_nfa_set): | ||||||
|             # Now create new DFAs by visiting all posible transitions between |             # Now create new DFAs by visiting all posible transitions between | ||||||
|             # the current DFA state and the new power-set states (each nfa_set) |             # 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 |             # 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. |             # the states of the original NFA. | ||||||
|             for label, nfa_set in sorted(arcs.items()): |             for label, nfa_set in sorted(arcs.items()): | ||||||
|                 for exisisting_state in states: |                 for exisisting_state in states: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Pablo Galindo
						Pablo Galindo