mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Add optional 'force' argument (default 0) to load_dict().
If set, redo the display even if it's the same dict.
This commit is contained in:
		
							parent
							
								
									0e5088fcc4
								
							
						
					
					
						commit
						105b9c7de4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -220,8 +220,8 @@ def __init__(self, master, title, dict=None): | |||
|      | ||||
|     dict = -1 | ||||
|      | ||||
|     def load_dict(self, dict): | ||||
|         if dict is self.dict: | ||||
|     def load_dict(self, dict, force=0): | ||||
|         if dict is self.dict and not force: | ||||
|             return | ||||
|         subframe = self.subframe | ||||
|         frame = self.frame | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum