]> granicus.if.org Git - python/commitdiff
Fix problem reported by Andre Roberge.
authorGeorg Brandl <georg@python.org>
Fri, 17 Aug 2007 05:52:24 +0000 (05:52 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 17 Aug 2007 05:52:24 +0000 (05:52 +0000)
Doc/tutorial/stdlib.rst

index f5d7146a54d33f49f26e7b412c3147b342032fc0..8ff6012fa22a1b676f9d96ef4b6ee7e12668f40c 100644 (file)
@@ -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()