home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / python / pyhtmldoc / o / old_classe next >
Text File  |  1996-11-14  |  1KB  |  23 lines

  1. <TITLE>Old classes -- Python library reference</TITLE>
  2. Next: <A HREF="../f/functions" TYPE="Next">Functions</A>  
  3. Prev: <A HREF="../u/using_the_cgi_module" TYPE="Prev">Using the cgi module</A>  
  4. Up: <A HREF="../c/cgi" TYPE="Up">cgi</A>  
  5. Top: <A HREF="../t/top" TYPE="Top">Top</A>  
  6. <H2>10.1.3. Old classes</H2>
  7. These classes, present in earlier versions of the <CODE>cgi</CODE> module, are still 
  8. supported for backward compatibility.  New applications should use the
  9. FieldStorage class.
  10. <P>
  11. <CODE>SvFormContentDict</CODE>: single value form content as dictionary; assumes each 
  12. field name occurs in the form only once.
  13. <P>
  14. <CODE>FormContentDict</CODE>: multiple value form content as dictionary (the form
  15. items are lists of values).  Useful if your form contains multiple
  16. fields with the same name.
  17. <P>
  18. Other classes (<CODE>FormContent</CODE>, <CODE>InterpFormContentDict</CODE>) are present for
  19. backwards compatibility with really old applications only.  If you still 
  20. use these and would be inconvenienced when they disappeared from a next 
  21. version of this module, drop me a note.
  22. <P>
  23.