Automerge-Triggered-By: GH:FFY00
.. class:: Traversable
- An object with a subset of pathlib.Path methods suitable for
+ An object with a subset of :class:`pathlib.Path` methods suitable for
traversing directories and opening files.
+ For a representation of the object on the file-system, use
+ :meth:`importlib.resources.as_file`.
+
.. versionadded:: 3.9
.. deprecated-removed:: 3.12 3.14
.. class:: Path
:noindex:
- A pathlib-compatible wrapper for zip files. See section
- :ref:`path-objects` for details.
+ Class that implements a subset of the interface provided by
+ :class:`pathlib.Path`, including the full
+ :class:`importlib.resources.abc.Traversable` interface.
.. versionadded:: 3.8