mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 02:15:10 +00:00 
			
		
		
		
	 e712a5b277
			
		
	
	
		e712a5b277
		
			
		
	
	
	
	
		
			
			* bpo-46118: Move importlib.resources to its own package. * Expand compatibility shims with documentation and explicit imports.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			354 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			354 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """
 | |
| Compatibility shim for .resources.simple as found on Python 3.10.
 | |
| 
 | |
| Consumers that can rely on Python 3.11 should use the other
 | |
| module directly.
 | |
| """
 | |
| 
 | |
| from .resources.simple import (
 | |
|     SimpleReader, ResourceHandle, ResourceContainer, TraversableReader,
 | |
| )
 | |
| 
 | |
| __all__ = [
 | |
|     'SimpleReader', 'ResourceHandle', 'ResourceContainer', 'TraversableReader',
 | |
| ]
 |