summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.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/os.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/os.rst')
-rw-r--r--Doc/library/os.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index e5555c2..eb15463 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2518,9 +2518,9 @@ features:
.. note::
On Unix-based systems, :func:`scandir` uses the system's
- `opendir() <http://pubs.opengroup.org/onlinepubs/009695399/functions/opendir.html>`_
+ `opendir() <https://pubs.opengroup.org/onlinepubs/009695399/functions/opendir.html>`_
and
- `readdir() <http://pubs.opengroup.org/onlinepubs/009695399/functions/readdir_r.html>`_
+ `readdir() <https://pubs.opengroup.org/onlinepubs/009695399/functions/readdir_r.html>`_
functions. On Windows, it uses the Win32
`FindFirstFileW <https://msdn.microsoft.com/en-us/library/windows/desktop/aa364418(v=vs.85).aspx>`_
and
@@ -4989,7 +4989,7 @@ Random numbers
:py:data:`GRND_NONBLOCK`.
See also the `Linux getrandom() manual page
- <http://man7.org/linux/man-pages/man2/getrandom.2.html>`_.
+ <https://man7.org/linux/man-pages/man2/getrandom.2.html>`_.
.. availability:: Linux >= 3.17.