mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	 8940ecd39d
			
		
	
	
		8940ecd39d
		
	
	
	
	
		
			
			Modified TestStdlibRenames to support platform specific renames. Added test for PixMapWrapper rename warning. Added note to documentation about PixMapWrapper rename.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			215 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			215 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import sys
 | |
| from warnings import warnpy3k
 | |
| 
 | |
| warnpy3k("the PixMapWrapper module has been renamed "
 | |
|          "to 'pixmapwrapper' in Python 3.0", stacklevel=2)
 | |
| 
 | |
| import pixmapwrapper
 | |
| sys.modules[__name__] = pixmapwrapper
 |