parameters: (form)
docstring: Dump the contents of a form as HTML.
docstring_summary: Dump the contents of a form as HTML.
docstring_tokens: Dump the contents of a form as HTML .
function: def print_form(form):
      """Dump the contents of a form as HTML."""
      keys = form.keys()
      keys.sort()
      print
      print "<H3>Form Contents:</H3>"
      if not keys:
          print "<P>No form fields."
      print "<DL>"
      for key in keys:
          print "<DT>" + escape(key) + ":",
          value = form[key]
          print "<i>" + escape(repr(type(value))) + "</i>"
          print "<DD>" + escape(repr(value))
      print "</DL>"
      print
function_tokens: def print_form ( form ) : keys = form . keys ( ) keys . sort ( ) print print "<H3>Form Contents:</H3>" if not keys : print "<P>No form fields." print "<DL>" for key in keys : print "<DT>" + escape ( key ) + ":" , value = form [ key ] print "<i>" + escape ( repr ( type ( value ) ) ) + "</i>" print "<DD>" + escape ( repr ( value ) ) print "</DL>" print