mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Update URLs in comments and metadata to use HTTPS (GH-27458)
This commit is contained in:
parent
ea4673ed07
commit
be42c06bb0
39 changed files with 58 additions and 58 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue