mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	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,
 | 
						|
)
 |