mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raised
while running under -3.
This commit is contained in:
		
							parent
							
								
									2005050152
								
							
						
					
					
						commit
						50bb7e12ec
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -146,7 +146,9 @@ class TokenError(Exception): pass | ||||||
| 
 | 
 | ||||||
| class StopTokenizing(Exception): pass | class StopTokenizing(Exception): pass | ||||||
| 
 | 
 | ||||||
| def printtoken(type, token, (srow, scol), (erow, ecol), line): # for testing | def printtoken(type, token, srow_scol, erow_ecol, line): # for testing | ||||||
|  |     srow, scol = srow_scol | ||||||
|  |     erow, ecol = erow_ecol | ||||||
|     print "%d,%d-%d,%d:\t%s\t%s" % \ |     print "%d,%d-%d,%d:\t%s\t%s" % \ | ||||||
|         (srow, scol, erow, ecol, tok_name[type], repr(token)) |         (srow, scol, erow, ecol, tok_name[type], repr(token)) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brett Cannon
						Brett Cannon