mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Use https:// URLs when referring to python.org hosts.
This commit is contained in:
parent
46761ec7c2
commit
e73778c1ac
54 changed files with 160 additions and 160 deletions
4
Doc/includes/email-alternative.py
Normal file → Executable file
4
Doc/includes/email-alternative.py
Normal file → Executable file
|
|
@ -17,14 +17,14 @@ msg['From'] = me
|
|||
msg['To'] = you
|
||||
|
||||
# Create the body of the message (a plain-text and an HTML version).
|
||||
text = "Hi!\nHow are you?\nHere is the link you wanted:\nhttp://www.python.org"
|
||||
text = "Hi!\nHow are you?\nHere is the link you wanted:\nhttps://www.python.org"
|
||||
html = """\
|
||||
<html>
|
||||
<head></head>
|
||||
<body>
|
||||
<p>Hi!<br>
|
||||
How are you?<br>
|
||||
Here is the <a href="http://www.python.org">link</a> you wanted.
|
||||
Here is the <a href="https://www.python.org">link</a> you wanted.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue