mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	
		
			
	
	
		
			9 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			9 lines
		
	
	
	
		
			205 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|   | import sys | ||
|  | from warnings import warnpy3k | ||
|  | 
 | ||
|  | warnpy3k("the tkFont module has been renamed " | ||
|  |          "to 'tkinter.font' in Python 3.0", stacklevel=2) | ||
|  | 
 | ||
|  | import tkinter.font | ||
|  | sys.modules[__name__] = tkinter.font |