diff Doc/tutorial/stdlib.rst @ 42641:4c5ecc2ccabd legacy-trunk

Fix problem reported by Andre Roberge.
author Georg Brandl <georg@python.org>
date Fri, 17 Aug 2007 05:52:24 +0000
parents c62f6669ae22
children 6f4922803411
line wrap: on
line diff
--- a/Doc/tutorial/stdlib.rst	Fri Aug 17 04:10:55 2007 +0000
+++ b/Doc/tutorial/stdlib.rst	Fri Aug 17 05:52:24 2007 +0000
@@ -158,11 +158,11 @@
    >>> 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()