mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	bpo-33564: Add async to IDLE's code context block openers. (GH-6960)
This commit is contained in:
		
							parent
							
								
									fb9dd89153
								
							
						
					
					
						commit
						d89ca94847
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -18,7 +18,7 @@ | ||||||
| from idlelib.config import idleConf | from idlelib.config import idleConf | ||||||
| 
 | 
 | ||||||
| BLOCKOPENERS = {"class", "def", "elif", "else", "except", "finally", "for", | BLOCKOPENERS = {"class", "def", "elif", "else", "except", "finally", "for", | ||||||
|                     "if", "try", "while", "with"} |                 "if", "try", "while", "with", "async"} | ||||||
| UPDATEINTERVAL = 100 # millisec | UPDATEINTERVAL = 100 # millisec | ||||||
| FONTUPDATEINTERVAL = 1000 # millisec | FONTUPDATEINTERVAL = 1000 # millisec | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -0,0 +1 @@ | ||||||
|  | IDLE's code context now recognizes async as a block opener. | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Terry Jan Reedy
						Terry Jan Reedy