summaryrefslogtreecommitdiffstats
path: root/Doc/includes/email-alternative-new-api.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-10 18:34:25 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-10 18:34:25 (GMT)
commit763e04b44254aeda1716eb046691e0ac4b01841b (patch)
tree66ca467bcbfd66be0032501ab3c05dfd550063a8 /Doc/includes/email-alternative-new-api.py
parentca0da9b0a3be265b6e0744bba2391d6ae77f47ab (diff)
parentd2ba5f565ad76ef88c3be705eca8a61cb7d870f6 (diff)
downloadcpython-763e04b44254aeda1716eb046691e0ac4b01841b.zip
cpython-763e04b44254aeda1716eb046691e0ac4b01841b.tar.gz
cpython-763e04b44254aeda1716eb046691e0ac4b01841b.tar.bz2
Merge heads
Diffstat (limited to 'Doc/includes/email-alternative-new-api.py')
-rw-r--r--Doc/includes/email-alternative-new-api.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/includes/email-alternative-new-api.py b/Doc/includes/email-alternative-new-api.py
index c1255a6..321f727 100644
--- a/Doc/includes/email-alternative-new-api.py
+++ b/Doc/includes/email-alternative-new-api.py
@@ -9,9 +9,9 @@ from email.utils import make_msgid
# Create the base text message.
msg = EmailMessage()
msg['Subject'] = "Ayons asperges pour le déjeuner"
-msg['From'] = Address("Pepé Le Pew", "pepe@example.com")
-msg['To'] = (Address("Penelope Pussycat", "penelope@example.com"),
- Address("Fabrette Pussycat", "fabrette@example.com"))
+msg['From'] = Address("Pepé Le Pew", "pepe", "example.com")
+msg['To'] = (Address("Penelope Pussycat", "penelope", "example.com"),
+ Address("Fabrette Pussycat", "fabrette", "example.com"))
msg.set_content("""\
Salut!