Skip to content

Commit 8ce20bb

Browse files
authored
bpo-45516: add protocol description to the TraversableResources documentation (#29173)
Signed-off-by: Filipe Laíns <[email protected]>
1 parent 17c6104 commit 8ce20bb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Doc/library/importlib.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,11 @@ ABC hierarchy::
870870

871871
.. versionadded:: 3.9
872872

873+
.. abstractmethod:: files()
874+
875+
Returns a :class:`importlib.abc.Traversable` object for the loaded
876+
package.
877+
873878

874879
:mod:`importlib.resources` -- Resources
875880
---------------------------------------
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add protocol description to the :class:`importlib.abc.TraversableResources`
2+
documentation.

0 commit comments

Comments
 (0)