summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.resources.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-08-04 07:13:49 (GMT)
committerGitHub <noreply@github.com>2022-08-04 07:13:49 (GMT)
commitf79547a429d5c90af83a0da821e082cba20d4712 (patch)
tree529f0f5c398d524e7ae54685fb22100ab2914b8f /Doc/library/importlib.resources.rst
parentbcc74d509a3bd7e4fdc658179ae6d77614d1fd36 (diff)
downloadcpython-f79547a429d5c90af83a0da821e082cba20d4712.zip
cpython-f79547a429d5c90af83a0da821e082cba20d4712.tar.gz
cpython-f79547a429d5c90af83a0da821e082cba20d4712.tar.bz2
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.
Diffstat (limited to 'Doc/library/importlib.resources.rst')
-rw-r--r--Doc/library/importlib.resources.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/importlib.resources.rst b/Doc/library/importlib.resources.rst
index d367dce..827e7d8 100644
--- a/Doc/library/importlib.resources.rst
+++ b/Doc/library/importlib.resources.rst
@@ -26,16 +26,16 @@ for example, a package and its resources can be imported from a zip file using
This module provides functionality similar to `pkg_resources
<https://setuptools.readthedocs.io/en/latest/pkg_resources.html>`_ `Basic
Resource Access
- <http://setuptools.readthedocs.io/en/latest/pkg_resources.html#basic-resource-access>`_
+ <https://setuptools.readthedocs.io/en/latest/pkg_resources.html#basic-resource-access>`_
without the performance overhead of that package. This makes reading
resources included in packages easier, with more stable and consistent
semantics.
The standalone backport of this module provides more information
on `using importlib.resources
- <http://importlib-resources.readthedocs.io/en/latest/using.html>`_ and
+ <https://importlib-resources.readthedocs.io/en/latest/using.html>`_ and
`migrating from pkg_resources to importlib.resources
- <http://importlib-resources.readthedocs.io/en/latest/migration.html>`_.
+ <https://importlib-resources.readthedocs.io/en/latest/migration.html>`_.
:class:`Loaders <importlib.abc.Loader>` that wish to support resource reading should implement a
``get_resource_reader(fullname)`` method as specified by