Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libcgi.tex @ 13625:fdfd1049f36e legacy-trunk
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.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sun, 16 Jul 2000 19:01:10 +0000 |
| parents | e82e82b3b9ad |
| children | 41234ae95d2a |
line wrap: on
line diff
--- a/Doc/lib/libcgi.tex Sun Jul 16 18:47:43 2000 +0000 +++ b/Doc/lib/libcgi.tex Sun Jul 16 19:01:10 2000 +0000 @@ -104,7 +104,7 @@ 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 @@ 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"]
