mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 503de7149d
			
		
	
	
		503de7149d
		
			
		
	
	
	
	
		
			
			Deprecate lib2to3 module in light of PEP 617. We anticipate removal in the 3.12 timeframe.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			163 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			163 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import warnings
 | |
| 
 | |
| 
 | |
| warnings.warn(
 | |
|     "lib2to3 package is deprecated and may not be able to parse Python 3.10+",
 | |
|     PendingDeprecationWarning,
 | |
|     stacklevel=2,
 | |
| )
 |