mirror of
https://github.com/python/cpython.git
synced 2026-05-28 07:08:01 -04:00
Follow official recommendation for domain names in examples.
This commit is contained in:
+3
-3
@@ -4599,9 +4599,9 @@ for sending mail:
|
||||
|
||||
>>> import smtplib
|
||||
>>> server = smtplib.SMTP('localhost')
|
||||
>>> server.sendmail('soothsayer@tmp.org', 'jceasar@tmp.org',
|
||||
"""To: jceasar@tmp.org
|
||||
From: soothsayer@tmp.org
|
||||
>>> server.sendmail('soothsayer@example.org', 'jceasar@example.org',
|
||||
"""To: jceasar@example.org
|
||||
From: soothsayer@example.org
|
||||
|
||||
Beware the Ides of March.
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user