summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.resources.abc.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-07-25 16:24:42 (GMT)
committerGitHub <noreply@github.com>2022-07-25 16:24:42 (GMT)
commit10b12dd92ab6e29b573706dd6adb3d8eb63ae81b (patch)
tree94327e9635401ec6d69d7186037a95b2b88e55dc /Doc/library/importlib.resources.abc.rst
parentccd7c7a0bde2587ee0e1e685f4651b50d90bd464 (diff)
downloadcpython-10b12dd92ab6e29b573706dd6adb3d8eb63ae81b.zip
cpython-10b12dd92ab6e29b573706dd6adb3d8eb63ae81b.tar.gz
cpython-10b12dd92ab6e29b573706dd6adb3d8eb63ae81b.tar.bz2
gh-93963: Document importlib.abc deprecations (#94546)
Diffstat (limited to 'Doc/library/importlib.resources.abc.rst')
-rw-r--r--Doc/library/importlib.resources.abc.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/importlib.resources.abc.rst b/Doc/library/importlib.resources.abc.rst
index d281ac0..57fffe0 100644
--- a/Doc/library/importlib.resources.abc.rst
+++ b/Doc/library/importlib.resources.abc.rst
@@ -45,6 +45,9 @@
.. versionadded:: 3.7
+ .. deprecated-removed:: 3.12 3.14
+ Use :class:`importlib.resources.abc.TraversableResources` instead.
+
.. abstractmethod:: open_resource(resource)
Returns an opened, :term:`file-like object` for binary reading
@@ -91,6 +94,9 @@
.. versionadded:: 3.9
+ .. deprecated-removed:: 3.12 3.14
+ Use :class:`importlib.resources.abc.Traversable` instead.
+
.. attribute:: name
Abstract. The base name of this object without any parent references.
@@ -146,6 +152,9 @@
.. versionadded:: 3.9
+ .. deprecated-removed:: 3.12 3.14
+ Use :class:`importlib.resources.abc.TraversableResources` instead.
+
.. abstractmethod:: files()
Returns a :class:`importlib.resources.abc.Traversable` object for the loaded