summaryrefslogtreecommitdiffstats
path: root/Doc/library/cgitb.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/cgitb.rst')
-rw-r--r--Doc/library/cgitb.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/cgitb.rst b/Doc/library/cgitb.rst
index c106d9e..854ea95 100644
--- a/Doc/library/cgitb.rst
+++ b/Doc/library/cgitb.rst
@@ -24,9 +24,10 @@ 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.
-To enable this feature, simply add one line to the top of your CGI script::
+To enable this feature, simply add this to the top of your CGI script::
- import cgitb; cgitb.enable()
+ import cgitb
+ cgitb.enable()
The options to the :func:`enable` function control whether the report is
displayed in the browser and whether the report is logged to a file for later