File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -809,9 +809,12 @@ ABC hierarchy::
809
809
810
810
.. class :: Traversable
811
811
812
- An object with a subset of pathlib.Path methods suitable for
812
+ An object with a subset of :class: ` pathlib.Path ` methods suitable for
813
813
traversing directories and opening files.
814
814
815
+ For a representation of the object on the file-system, use
816
+ :meth: `importlib.resources.as_file `.
817
+
815
818
.. versionadded :: 3.9
816
819
817
820
.. abstractmethod :: name()
Original file line number Diff line number Diff line change @@ -55,8 +55,9 @@ The module defines the following items:
55
55
.. class :: Path
56
56
:noindex:
57
57
58
- A pathlib-compatible wrapper for zip files. See section
59
- :ref: `path-objects ` for details.
58
+ Class that implements a subset of the interface provided by
59
+ :class: `pathlib.Path `, including the full
60
+ :class: `importlib.resources.abc.Traversable ` interface.
60
61
61
62
.. versionadded :: 3.8
62
63
You can’t perform that action at this time.
0 commit comments