diff options
author | Raymond Hettinger <python@rcn.com> | 2005-01-01 00:28:46 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-01-01 00:28:46 (GMT) |
commit | 68804315e0f2fe567e62c7023bc87ee358a480e7 (patch) | |
tree | b3bd8d536221d63b6a7033fa0fcb10071f564001 /Doc/tut | |
parent | f871d833dd2a99d93ebdc4aa4cc07bd4afe9be61 (diff) | |
download | cpython-68804315e0f2fe567e62c7023bc87ee358a480e7.zip cpython-68804315e0f2fe567e62c7023bc87ee358a480e7.tar.gz cpython-68804315e0f2fe567e62c7023bc87ee358a480e7.tar.bz2 |
SF Patch #1093896: miscellaneous doc typos
Diffstat (limited to 'Doc/tut')
-rw-r--r-- | Doc/tut/tut.tex | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 03efeb1..6c29710 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -3553,9 +3553,10 @@ Traceback (most recent call last): __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 @@ for sending mail: >>> 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 |