mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Couple more has_keys() going...
This commit is contained in:
		
							parent
							
								
									6e23e3796d
								
							
						
					
					
						commit
						e014a13f03
					
				
					 5 changed files with 26 additions and 26 deletions
				
			
		|  | @ -107,7 +107,7 @@ def __init__(self, master, title=None): | |||
|         self.top.bind('<Alt-W>', self.cancel_command) | ||||
| 
 | ||||
|     def go(self, dir_or_file=os.curdir, pattern="*", default="", key=None): | ||||
|         if key and dialogstates.has_key(key): | ||||
|         if key and key in dialogstates: | ||||
|             self.directory, pattern = dialogstates[key] | ||||
|         else: | ||||
|             dir_or_file = os.path.expanduser(dir_or_file) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum