summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-17 05:52:24 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-17 05:52:24 (GMT)
commitee354b1e96a75f7485eb9c4612404acbf9f9b2d7 (patch)
treea4fd164127adb237c2a01bb17d94c80ae149a7fc /Doc/tutorial
parent82955f6787c34a7cd7a3d83e9fc39314528693f6 (diff)
downloadcpython-ee354b1e96a75f7485eb9c4612404acbf9f9b2d7.zip
cpython-ee354b1e96a75f7485eb9c4612404acbf9f9b2d7.tar.gz
cpython-ee354b1e96a75f7485eb9c4612404acbf9f9b2d7.tar.bz2
Fix problem reported by Andre Roberge.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/stdlib.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst
index f5d7146..8ff6012 100644
--- a/Doc/tutorial/stdlib.rst
+++ b/Doc/tutorial/stdlib.rst
@@ -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()