diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-02-26 03:38:59 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-02-26 03:38:59 (GMT) |
commit | ad3d5c2235743f23db54fb5ef2c337a0e21c9548 (patch) | |
tree | 9814660def28b76dc923a39d292588cb2fd9b9fb /Doc/library/cgitb.rst | |
parent | 40ce6cc06688e8527180eeee342005e5912d4eb2 (diff) | |
download | cpython-ad3d5c2235743f23db54fb5ef2c337a0e21c9548.zip cpython-ad3d5c2235743f23db54fb5ef2c337a0e21c9548.tar.gz cpython-ad3d5c2235743f23db54fb5ef2c337a0e21c9548.tar.bz2 |
Merged revisions 69803-69805,69840,69901,69905,69907,69924,69927,69987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69803 | georg.brandl | 2009-02-20 01:48:21 -0600 (Fri, 20 Feb 2009) | 1 line
#5327: fix a broken link by joining it.
........
r69804 | georg.brandl | 2009-02-20 02:22:21 -0600 (Fri, 20 Feb 2009) | 1 line
At least separate imports from other statements.
........
r69805 | georg.brandl | 2009-02-20 02:45:47 -0600 (Fri, 20 Feb 2009) | 2 lines
Fix punctuation.
........
r69840 | georg.brandl | 2009-02-21 13:09:40 -0600 (Sat, 21 Feb 2009) | 1 line
#5338, #5339: two types in the API manual.
........
r69901 | georg.brandl | 2009-02-23 05:24:46 -0600 (Mon, 23 Feb 2009) | 2 lines
#5349: C++ pure virtuals can also have an implementation.
........
r69905 | georg.brandl | 2009-02-23 09:51:27 -0600 (Mon, 23 Feb 2009) | 2 lines
#5352: str.count() counts non-overlapping instances.
........
r69907 | georg.brandl | 2009-02-23 12:33:48 -0600 (Mon, 23 Feb 2009) | 1 line
Fix grammar.
........
r69924 | benjamin.peterson | 2009-02-23 20:45:35 -0600 (Mon, 23 Feb 2009) | 1 line
update README on running tests
........
r69927 | neil.schemenauer | 2009-02-23 22:23:25 -0600 (Mon, 23 Feb 2009) | 1 line
Fix call to os.waitpid, it does not take keyword args.
........
r69987 | benjamin.peterson | 2009-02-25 18:30:11 -0600 (Wed, 25 Feb 2009) | 1 line
fix str.format()'s first arg #5371
........
Diffstat (limited to 'Doc/library/cgitb.rst')
-rw-r--r-- | Doc/library/cgitb.rst | 5 |
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 |