Update of /cvsroot/python/python/dist/src/Doc/tut In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3901/Doc/tut Modified Files: tut.tex Log Message: SF Patch #1093896: miscellaneous doc typos Index: tut.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v retrieving revision 1.265 retrieving revision 1.266 diff -u -d -r1.265 -r1.266 --- tut.tex 4 Dec 2004 10:50:50 -0000 1.265 +++ tut.tex 1 Jan 2005 00:28:44 -0000 1.266 @@ -3553,9 +3553,10 @@ __main__.MyError: 'oops!' \end{verbatim} -In this example, the default \method{__init__} of \class{Exception} has -been overriden. The new behavior simply creates the \var{value} attribute. -This replaces the default behavior of creating the \var{args} attribute. +In this example, the default \method{__init__} of \class{Exception} +has been overridden. The new behavior simply creates the \var{value} +attribute. This replaces the default behavior of creating the +\var{args} attribute. Exception classes can be defined which do anything any other class can do, but are usually kept simple, often only offering a number of @@ -4636,7 +4637,7 @@
import smtplib server = smtplib.SMTP('localhost') ->>> server.sendmail('soothsayer@example.org', 'jceasar@example.org', +>>> server.sendmail('soothsayer@example.org', 'jcaesar@example.org', """To: jcaesar@example.org From: soothsayer@example.org
participants (1)
-
rhettingerīŧ users.sourceforge.net