mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Follow official recommendation for domain names in examples.
This commit is contained in:
parent
79cddc56b3
commit
a8aebcedf9
1 changed files with 3 additions and 3 deletions
|
@ -4599,9 +4599,9 @@ for sending mail:
|
||||||
|
|
||||||
>>> import smtplib
|
>>> import smtplib
|
||||||
>>> server = smtplib.SMTP('localhost')
|
>>> server = smtplib.SMTP('localhost')
|
||||||
>>> server.sendmail('soothsayer@tmp.org', 'jceasar@tmp.org',
|
>>> server.sendmail('soothsayer@example.org', 'jceasar@example.org',
|
||||||
"""To: jceasar@tmp.org
|
"""To: jceasar@example.org
|
||||||
From: soothsayer@tmp.org
|
From: soothsayer@example.org
|
||||||
|
|
||||||
Beware the Ides of March.
|
Beware the Ides of March.
|
||||||
""")
|
""")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue