0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00
cpython/Lib/importlib/readers.py
Jason R. Coombs e712a5b277
bpo-46118: Move importlib.resources to its own package. (#30176)
* bpo-46118: Move importlib.resources to its own package.

* Expand compatibility shims with documentation and explicit imports.
2021-12-30 21:00:48 -05:00

13 lines
327 B
Python

"""
Compatibility shim for .resources.readers as found on Python 3.10.
Consumers that can rely on Python 3.11 should use the other
module directly.
"""
from .resources.readers import (
FileReader, ZipReader, MultiplexedPath, NamespaceReader,
)
__all__ = ['FileReader', 'ZipReader', 'MultiplexedPath', 'NamespaceReader']