mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Restore an assert, but move it to the proper place.
This commit is contained in:
		
							parent
							
								
									7f9d29c660
								
							
						
					
					
						commit
						a62db27546
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -9194,7 +9194,7 @@ formatteriter_next(formatteriterobject *it) | ||||||
| 
 | 
 | ||||||
|         /* all of the SubString objects point into it->str, so no
 |         /* all of the SubString objects point into it->str, so no
 | ||||||
|            memory management needs to be done on them */ |            memory management needs to be done on them */ | ||||||
| 
 |         assert(0 <= result && result <= 2); | ||||||
|         if (result == 0) { |         if (result == 0) { | ||||||
|                 /* error has already been set */ |                 /* error has already been set */ | ||||||
|                 return NULL; |                 return NULL; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neal Norwitz
						Neal Norwitz