mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Tkinter rename, step 2: fix imports and add stub modules.
This commit is contained in:
		
							parent
							
								
									bbc57d73a0
								
							
						
					
					
						commit
						ad9afeb8f0
					
				
					 53 changed files with 206 additions and 85 deletions
				
			
		
							
								
								
									
										8
									
								
								Lib/lib-tk/FileDialog.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								Lib/lib-tk/FileDialog.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| import sys | ||||
| from warnings import warnpy3k | ||||
| 
 | ||||
| warnpy3k("the FileDialog module has been renamed " | ||||
|          "to 'tkinter.filedialog' in Python 3.0", stacklevel=2) | ||||
| 
 | ||||
| import tkinter.filedialog | ||||
| sys.modules[__name__] = tkinter.filedialog | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl