summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-07 19:03:36 (GMT)
committerGitHub <noreply@github.com>2022-10-07 19:03:36 (GMT)
commit7565944994a98f0c78026487009d90661b94e4b7 (patch)
treee3a3f046833621d2c56f477416afa85fc74d6c54
parent5054ae23ce9e5b6e43d9da4d9a4e3ed7fd9ab8e1 (diff)
downloadcpython-7565944994a98f0c78026487009d90661b94e4b7.zip
cpython-7565944994a98f0c78026487009d90661b94e4b7.tar.gz
cpython-7565944994a98f0c78026487009d90661b94e4b7.tar.bz2
[3.10] gh-96959: Update HTTP links which are redirected to HTTPS (GH-98039) (#98050)
(cherry picked from commit c81c64ca58822156beba79dfd3035bf2a5b7354e) Co-authored-by: 180909 <734461790@qq.com>
-rw-r--r--Doc/faq/library.rst2
-rw-r--r--Doc/includes/tzinfo_examples.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
index f79cf48..a9cde45 100644
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -609,7 +609,7 @@ use ``p.read(n)``.
substituted for standard input and output. You will have to use pseudo ttys
("ptys") instead of pipes. Or you can use a Python interface to Don Libes'
"expect" library. A Python extension that interfaces to expect is called
- "expy" and available from http://expectpy.sourceforge.net. A pure Python
+ "expy" and available from https://expectpy.sourceforge.net. A pure Python
solution that works like expect is `pexpect
<https://pypi.org/project/pexpect/>`_.
diff --git a/Doc/includes/tzinfo_examples.py b/Doc/includes/tzinfo_examples.py
index 9b9e32a..1fa6e61 100644
--- a/Doc/includes/tzinfo_examples.py
+++ b/Doc/includes/tzinfo_examples.py
@@ -71,7 +71,7 @@ def first_sunday_on_or_after(dt):
# DST start and end times. For a complete and up-to-date set of DST rules
# and timezone definitions, visit the Olson Database (or try pytz):
# http://www.twinsun.com/tz/tz-link.htm
-# http://sourceforge.net/projects/pytz/ (might not be up-to-date)
+# https://sourceforge.net/projects/pytz/ (might not be up-to-date)
#
# In the US, since 2007, DST starts at 2am (standard time) on the second
# Sunday in March, which is the first Sunday on or after Mar 8.