mirror of https://github.com/python/cpython
Follow official recommendation for domain names in examples.
This commit is contained in:
parent
79cddc56b3
commit
a8aebcedf9
|
@ -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.
|
||||
""")
|
||||
|
|
Loading…
Reference in New Issue