summaryrefslogtreecommitdiff
path: root/Lib/importlib/readers.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/importlib/readers.py')
-rw-r--r--Lib/importlib/readers.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/Lib/importlib/readers.py b/Lib/importlib/readers.py
index 276157400e..df7fb92e5c 100644
--- a/Lib/importlib/readers.py
+++ b/Lib/importlib/readers.py
@@ -1 +1,12 @@
-from .resources.readers import *
+"""
+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']