mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	replace has_key with 'in' operator
This commit is contained in:
		
							parent
							
								
									de0559998f
								
							
						
					
					
						commit
						6e3dbbdf39
					
				
					 29 changed files with 71 additions and 71 deletions
				
			
		|  | @ -409,7 +409,7 @@ def GetSubList(self): | |||
| 
 | ||||
| class ScrolledCanvas: | ||||
|     def __init__(self, master, **opts): | ||||
|         if not opts.has_key('yscrollincrement'): | ||||
|         if 'yscrollincrement' not in opts: | ||||
|             opts['yscrollincrement'] = 17 | ||||
|         self.master = master | ||||
|         self.frame = Frame(master) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson