We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d5dce commit 64a4147Copy full SHA for 64a4147
Doc/tutorial/stdlib.rst
@@ -183,7 +183,7 @@ protocols. Two of the simplest are :mod:`urllib.request` for retrieving data
183
from URLs and :mod:`smtplib` for sending mail::
184
185
>>> from urllib.request import urlopen
186
- >>> with urlopen('http://worldtimeapi.org/api/timezone/etc/UTC.txt') as response:
+ >>> with urlopen('https://worldtimeapi.org/api/timezone/etc/UTC.txt') as response:
187
... for line in response:
188
... line = line.decode() # Convert bytes to a str
189
... if line.startswith('datetime'):
0 commit comments