mirror of https://github.com/python/cpython
Fix problem reported by Andre Roberge.
This commit is contained in:
parent
82955f6787
commit
ee354b1e96
|
@ -158,11 +158,11 @@ and :mod:`smtplib` for sending mail::
|
|||
>>> import smtplib
|
||||
>>> server = smtplib.SMTP('localhost')
|
||||
>>> server.sendmail('soothsayer@example.org', 'jcaesar@example.org',
|
||||
"""To: jcaesar@example.org
|
||||
From: soothsayer@example.org
|
||||
|
||||
Beware the Ides of March.
|
||||
""")
|
||||
... """To: jcaesar@example.org
|
||||
... From: soothsayer@example.org
|
||||
...
|
||||
... Beware the Ides of March.
|
||||
... """)
|
||||
>>> server.quit()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue