summaryrefslogtreecommitdiffstats
path: root/Doc/tut
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-02-24 16:13:36 (GMT)
committerFred Drake <fdrake@acm.org>2004-02-24 16:13:36 (GMT)
commitf0ae4272b4b69576a51e5749820bf907799d1aca (patch)
treed82763e12a8e6a2fd798795938e54c1c204109a1 /Doc/tut
parent2b55d35850e3e8e0b28aba7878d3f9122a7907ac (diff)
downloadcpython-f0ae4272b4b69576a51e5749820bf907799d1aca.zip
cpython-f0ae4272b4b69576a51e5749820bf907799d1aca.tar.gz
cpython-f0ae4272b4b69576a51e5749820bf907799d1aca.tar.bz2
fix English usage error reported by Ken Fuchs
Diffstat (limited to 'Doc/tut')
-rw-r--r--Doc/tut/tut.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 7814231..972a79b 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -1411,7 +1411,7 @@ arguments. There are three forms, which can be combined.
The most useful form is to specify a default value for one or more
arguments. This creates a function that can be called with fewer
-arguments than it is defined
+arguments than it is defined to allow. For example:
\begin{verbatim}
def ask_ok(prompt, retries=4, complaint='Yes or no, please!'):
@@ -3282,7 +3282,7 @@ the message: the types in the example are
\exception{ZeroDivisionError}, \exception{NameError} and
\exception{TypeError}.
The string printed as the exception type is the name of the built-in
-name for the exception that occurred. This is true for all built-in
+exception that occurred. This is true for all built-in
exceptions, but need not be true for user-defined exceptions (although
it is a useful convention).
Standard exception names are built-in identifiers (not reserved