mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
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.
This commit is contained in:
parent
0e19e76aba
commit
f8316638af
61 changed files with 92 additions and 92 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue