Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libcgitb.tex @ 21504:a03b13be2f68 legacy-trunk
Re-commit Ping's patch to the cgi and cgitb documentation, using the
right version this time. Thanks, Ping!
(This was from SF patch #494582, "\index -> \indexii" version.)
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 20 Dec 2001 17:13:09 +0000 |
| parents | 3a93145b6a96 |
| children | d1acf89d1c49 |
line wrap: on
line diff
--- a/Doc/lib/libcgitb.tex Thu Dec 20 16:37:27 2001 +0000 +++ b/Doc/lib/libcgitb.tex Thu Dec 20 17:13:09 2001 +0000 @@ -9,15 +9,14 @@ \versionadded{2.2} \index{CGI!exceptions} \index{CGI!tracebacks} -\index{exception!in CGI scripts} -\index{traceback!in CGI scripts} +\index{exceptions!in CGI scripts} +\index{tracebacks!in CGI scripts} The \module{cgitb} module provides a special exception handler for CGI -scripts. After this module is activated using the \function{enable()} -function, if an uncaught exception occurs, a detailed, formatted -report will be sent to the Web browser. The report includes a -traceback showing excerpts of the source code for each level, as well -as the values of the arguments and local variables to currently +scripts. After this module is activated, if an uncaught exception occurs, +a detailed, formatted report will be sent to the Web browser. The report +includes a traceback showing excerpts of the source code for each level, +as well as the values of the arguments and local variables to currently running functions, to help you debug the problem. Optionally, you can save this information to a file instead of sending it to the browser.
