diff options
author | Fred Drake <fdrake@acm.org> | 2001-12-19 14:27:41 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-12-19 14:27:41 (GMT) |
commit | 4f5b49fb56627c99defad8c6fdff869af796eed9 (patch) | |
tree | 9c654730175a859ea471bf88c054a1013807a6e9 /Lib | |
parent | 0d1536654d9c7b1d9cfa0d07aea83d89a75f48ba (diff) | |
download | cpython-4f5b49fb56627c99defad8c6fdff869af796eed9.zip cpython-4f5b49fb56627c99defad8c6fdff869af796eed9.tar.gz cpython-4f5b49fb56627c99defad8c6fdff869af796eed9.tar.bz2 |
Make the module docstring agree with reality: the module prvides the
"handler()" function, not the "handle()" function.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/cgitb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgitb.py b/Lib/cgitb.py index 619bdfc..381fb7b 100644 --- a/Lib/cgitb.py +++ b/Lib/cgitb.py @@ -13,7 +13,7 @@ at the top of your CGI script. The optional arguments to enable() are: By default, tracebacks are displayed but not saved, and context is 5. Alternatively, if you have caught an exception and want cgitb to display it -for you, call cgitb.handle(). The optional argument to handle() is a 3-item +for you, call cgitb.handler(). The optional argument to handler() is a 3-item tuple (etype, evalue, etb) just like the value of sys.exc_info().""" __author__ = 'Ka-Ping Yee' |