summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-05-24 17:08:10 (GMT)
committerGitHub <noreply@github.com>2021-05-24 17:08:10 (GMT)
commit7148293d96843ca868961313b00361504ec0c242 (patch)
treea33d4e2ed830caceaea2e590dc829b746d982801
parentaf5d497f72ceaf3f207a8aded028607c4c46a993 (diff)
downloadcpython-7148293d96843ca868961313b00361504ec0c242.zip
cpython-7148293d96843ca868961313b00361504ec0c242.tar.gz
cpython-7148293d96843ca868961313b00361504ec0c242.tar.bz2
bpo-44195: Use 'TraversableResources' in the docs to match the implementation. (GH-26317)
-rw-r--r--Doc/library/importlib.rst4
-rw-r--r--Misc/NEWS.d/next/Documentation/2021-05-23-09-11-28.bpo-44195.1bqkOs.rst2
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 7172ef2..b5ee7a6 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 0000000..5f165f1
--- /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``.