@@ -845,6 +845,8 @@ ABC hierarchy::
845845
846846 Read contents of self as text.
847847
848+ Note: In Python 3.11 and later, this class is found in ``importlib.resources.abc ``.
849+
848850
849851.. class :: TraversableResources
850852
@@ -856,6 +858,8 @@ ABC hierarchy::
856858
857859 .. versionadded :: 3.9
858860
861+ Note: In Python 3.11 and later, this class is found in ``importlib.resources.abc ``.
862+
859863
860864:mod: `importlib.resources ` -- Resources
861865---------------------------------------
@@ -918,7 +922,7 @@ The following functions are available.
918922
919923.. function :: files(package)
920924
921- Returns an :class: `importlib.resources. abc.Traversable ` object
925+ Returns an :class: `importlib.abc.Traversable ` object
922926 representing the resource container for the package (think directory)
923927 and its resources (think files). A Traversable may contain other
924928 containers (think subdirectories).
@@ -930,7 +934,7 @@ The following functions are available.
930934
931935.. function :: as_file(traversable)
932936
933- Given a :class: `importlib.resources. abc.Traversable ` object representing
937+ Given a :class: `importlib.abc.Traversable ` object representing
934938 a file, typically from :func: `importlib.resources.files `, return
935939 a context manager for use in a :keyword: `with ` statement.
936940 The context manager provides a :class: `pathlib.Path ` object.
0 commit comments