diff options
author | Fred Drake <fdrake@acm.org> | 2001-12-20 17:13:09 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-12-20 17:13:09 (GMT) |
commit | 34a37b807a99dbf954fb31273e2a989f0f998f64 (patch) | |
tree | edcb59a99763950b54b5b84fcf90324004076706 /Doc/lib/libcgitb.tex | |
parent | eae36ac5c3e69cc28175af15a1bd6b6c1bcdfa0b (diff) | |
download | cpython-34a37b807a99dbf954fb31273e2a989f0f998f64.zip cpython-34a37b807a99dbf954fb31273e2a989f0f998f64.tar.gz cpython-34a37b807a99dbf954fb31273e2a989f0f998f64.tar.bz2 |
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.)
Diffstat (limited to 'Doc/lib/libcgitb.tex')
-rw-r--r-- | Doc/lib/libcgitb.tex | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Doc/lib/libcgitb.tex b/Doc/lib/libcgitb.tex index 621d325..e0e4a01 100644 --- a/Doc/lib/libcgitb.tex +++ b/Doc/lib/libcgitb.tex @@ -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. |