aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Doc/library/contextlib.rst
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2021-07-30 06:54:46 -0700
committerGitHub <noreply@github.com>2021-07-30 15:54:46 +0200
commitbe42c06bb01206209430f3ac08b72643dc7cad1c (patch)
tree85df7eaca19021bab89cb63f7c8022dcbe13c2fb /Doc/library/contextlib.rst
parentea4673ed0757e9bfe8774e60cfae3313e9927b5f (diff)
downloadcpython-be42c06bb01206209430f3ac08b72643dc7cad1c.tar.gz
cpython-be42c06bb01206209430f3ac08b72643dc7cad1c.zip
Update URLs in comments and metadata to use HTTPS (GH-27458)
Diffstat (limited to 'Doc/library/contextlib.rst')
-rw-r--r--Doc/library/contextlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/contextlib.rst b/Doc/library/contextlib.rst
index 38f619a66d6..bc38a63a52d 100644
--- a/Doc/library/contextlib.rst
+++ b/Doc/library/contextlib.rst
@@ -171,7 +171,7 @@ Functions and classes provided:
from contextlib import closing
from urllib.request import urlopen
- with closing(urlopen('http://www.python.org')) as page:
+ with closing(urlopen('https://www.python.org')) as page:
for line in page:
print(line)