8000 [3.10] gh-96845: Correct reference to Traversable* classes. · python/cpython@0ce968b · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ce968b

Browse files
committed
[3.10] gh-96845: Correct reference to Traversable* classes.
1 parent 2a50772 commit 0ce968b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/importlib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ The following functions are available.
930930

931931
.. function:: files(package)
932932

933-
Returns an :class:`importlib.resources.abc.Traversable` object
933+
Returns an :class:`importlib.abc.Traversable` object
934934
representing the resource container for the package (think directory)
935935
and its resources (think files). A Traversable may contain other
936936
containers (think subdirectories).
@@ -942,7 +942,7 @@ The following functions are available.
942942

943943
.. function:: as_file(traversable)
944944

945-
Given a :class:`importlib.resources.abc.Traversable` object representing
945+
Given a :class:`importlib.abc.Traversable` object representing
946946
a file, typically from :func:`importlib.resources.files`, return
947947
a context manager for use in a :keyword:`with` statement.
948948
The context manager provides a :class:`pathlib.Path` object.

0 commit comments

Comments
 (0)
0