[Python-checkins] [3.9] bpo-44195: Use 'TraversableResources' in the docs to match the implementation. (GH-26317) (GH-26335)

miss-islington webhook-mailer at python.org
Mon May 24 13:33:12 EDT 2021


https://github.com/python/cpython/commit/ab4da079232356e781743b2782148bc7c03f1ee3
commit: ab4da079232356e781743b2782148bc7c03f1ee3
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-05-24T10:33:03-07:00
summary:

[3.9] bpo-44195: Use 'TraversableResources' in the docs to match the implementation. (GH-26317) (GH-26335)



(cherry picked from commit 7148293d96843ca868961313b00361504ec0c242)


Co-authored-by: Jason R. Coombs <jaraco at jaraco.com>

Automerge-Triggered-By: GH:jaraco

files:
A Misc/NEWS.d/next/Documentation/2021-05-23-09-11-28.bpo-44195.1bqkOs.rst
M Doc/library/importlib.rst

diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 61a81e02ff88fc..736c43d96558c2 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -481,7 +481,7 @@ ABC hierarchy::
 
 .. class:: ResourceReader
 
-    *Superseded by TraversableReader*
+    *Superseded by TraversableResources*
 
     An :term:`abstract base class` to provide the ability to read
     *resources*.
@@ -806,7 +806,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 00000000000000..5f165f166a377f
--- /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``.



More information about the Python-checkins mailing list