summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcgi.tex
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-16 19:01:10 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-16 19:01:10 (GMT)
commitf8316638afb2eff261c3854ee6e02b9bc47d0955 (patch)
tree8d0271c66820c6c5ea947724b04a89362c9b222d /Doc/lib/libcgi.tex
parent0e19e76aba9f470c348e25bb2d550f9a096642bd (diff)
downloadcpython-f8316638afb2eff261c3854ee6e02b9bc47d0955.zip
cpython-f8316638afb2eff261c3854ee6e02b9bc47d0955.tar.gz
cpython-f8316638afb2eff261c3854ee6e02b9bc47d0955.tar.bz2
Rob W. W. Hooft's spelling fixes for the Library Reference. I hope
SourceForge doesn't choke on this batch :-) I'm not entirely sure this is 100% correct. The patch changes an \index{persistency} to \index{presistence}, and I don't know what \index{} does. But it seems to do so persi--er, consistently, so I hope it isn't a problem.
Diffstat (limited to 'Doc/lib/libcgi.tex')
-rw-r--r--Doc/lib/libcgi.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libcgi.tex b/Doc/lib/libcgi.tex
index 3b755a0..e90bf1c 100644
--- a/Doc/lib/libcgi.tex
+++ b/Doc/lib/libcgi.tex
@@ -104,7 +104,7 @@ If the submitted form data contains more than one field with the same
name, the object retrieved by \samp{form[\var{key}]} is not a
\class{FieldStorage} or \class{MiniFieldStorage}
instance but a list of such instances. If you expect this possibility
-(i.e., when your HTML form comtains multiple fields with the same
+(i.e., when your HTML form contains multiple fields with the same
name), use the \function{type()} function to determine whether you
have a single instance or a list of instances. For example, here's
code that concatenates any number of username fields, separated by
@@ -131,7 +131,7 @@ If a field represents an uploaded file, the value attribute reads the
entire file in memory as a string. This may not be what you want.
You can test for an uploaded file by testing either the filename
attribute or the file attribute. You can then read the data at
-leasure from the file attribute:
+leisure from the file attribute:
\begin{verbatim}
fileitem = form["userfile"]