From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 24 May 2021 17:30:05 +0000 (-0700) Subject: bpo-44195: Use 'TraversableResources' in the docs to match the implementation. (GH... X-Git-Tag: v3.10.0b2~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d309bcc9e36adb2437a02550514df3efeb1b2343;p=thirdparty%2FPython%2Fcpython.git bpo-44195: Use 'TraversableResources' in the docs to match the implementation. (GH-26317) (cherry picked from commit 7148293d96843ca868961313b00361504ec0c242) Co-authored-by: Jason R. Coombs --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 7172ef236ed8..b5ee7a6b9659 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -491,7 +491,7 @@ ABC hierarchy:: .. class:: ResourceReader - *Superseded by TraversableReader* + *Superseded by TraversableResources* An :term:`abstract base class` to provide the ability to read *resources*. @@ -816,7 +816,7 @@ ABC hierarchy:: .. versionadded:: 3.9 -.. class:: TraversableReader +.. class:: TraversableResources An abstract base class for resource readers capable of serving the ``files`` interface. Subclasses ResourceReader and provides diff --git a/Misc/NEWS.d/next/Documentation/2021-05-23-09-11-28.bpo-44195.1bqkOs.rst b/Misc/NEWS.d/next/Documentation/2021-05-23-09-11-28.bpo-44195.1bqkOs.rst new file mode 100644 index 000000000000..5f165f166a37 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2021-05-23-09-11-28.bpo-44195.1bqkOs.rst @@ -0,0 +1,2 @@ +Corrected references to ``TraversableResources`` in docs. There is no +``TraversableReader``.