mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
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.)
This commit is contained in:
parent
eae36ac5c3
commit
34a37b807a
2 changed files with 47 additions and 51 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue