diff --git a/Doc/Makefile b/Doc/Makefile index 5b6a95813abee5..0ba438f88a4230 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -219,7 +219,7 @@ check: $(SPHINXLINT) --enable default-role ../Misc/NEWS.d/next/ serve: - @echo "The serve target was removed, use htmlview instead (see bpo-36329)" + @echo "The serve target was removed, use `make htmlview` instead (see bpo-36329)" # Targets for daily automated doc build # By default, Sphinx only rebuilds pages where the page content has changed. diff --git a/Doc/library/importlib.resources.rst b/Doc/library/importlib.resources.rst index f62d15dd6fdc9e..61366408485ea4 100644 --- a/Doc/library/importlib.resources.rst +++ b/Doc/library/importlib.resources.rst @@ -61,7 +61,7 @@ The following functions are available. .. function:: files(package) - Returns an :class:`importlib.resources.abc.Traversable` object + Returns an :class:`importlib.abc.Traversable` object representing the resource container for the package (think directory) and its resources (think files). A Traversable may contain other containers (think subdirectories). @@ -73,7 +73,7 @@ The following functions are available. .. function:: as_file(traversable) - Given a :class:`importlib.resources.abc.Traversable` object representing + Given a :class:`importlib.abc.Traversable` object representing a file, typically from :func:`importlib.resources.files`, return a context manager for use in a :keyword:`with` statement. The context manager provides a :class:`pathlib.Path` object. diff --git a/Misc/NEWS.d/next/Documentation/2022-06-10-15-13-55.gh-issue-93699.SsifdG.rst b/Misc/NEWS.d/next/Documentation/2022-06-10-15-13-55.gh-issue-93699.SsifdG.rst new file mode 100644 index 00000000000000..f29a9605d5f79a --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2022-06-10-15-13-55.gh-issue-93699.SsifdG.rst @@ -0,0 +1 @@ +Fix documentation links to ``importlib.abc.Traversable``.