]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] bpo-44195: Use 'TraversableResources' in the docs to match the implementation...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 May 2021 17:33:03 +0000 (10:33 -0700)
committerGitHub <noreply@github.com>
Mon, 24 May 2021 17:33:03 +0000 (10:33 -0700)
(cherry picked from commit 7148293d96843ca868961313b00361504ec0c242)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Automerge-Triggered-By: GH:jaraco
Doc/library/importlib.rst
Misc/NEWS.d/next/Documentation/2021-05-23-09-11-28.bpo-44195.1bqkOs.rst [new file with mode: 0644]

index 61a81e02ff88fc344f04c435b9a6257e28f97f36..736c43d96558c266657f0cd2e37c1eb6d9d29d02 100644 (file)
@@ -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 (file)
index 0000000..5f165f1
--- /dev/null
@@ -0,0 +1,2 @@
+Corrected references to ``TraversableResources`` in docs. There is no
+``TraversableReader``.