mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Nits.
This commit is contained in:
		
							parent
							
								
									edd07737d7
								
							
						
					
					
						commit
						b233e54409
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -4299,7 +4299,7 @@ iterators as described in the previous section.  What makes generators so
 | 
			
		|||
compact is that the \method{__iter__()} and \method{next()} methods are
 | 
			
		||||
created automatically.
 | 
			
		||||
 | 
			
		||||
Another other key feature is that the local variables and execution state
 | 
			
		||||
Another key feature is that the local variables and execution state
 | 
			
		||||
are automatically saved between calls.  This made the function easier to write
 | 
			
		||||
and much more clear than an approach using class variables like
 | 
			
		||||
\code{self.index} and \code{self.data}.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue