From: Fred Drake Date: Wed, 19 Dec 2001 14:27:41 +0000 (+0000) Subject: Make the module docstring agree with reality: the module prvides the X-Git-Tag: v2.2.1c1~302 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f5b49fb56627c99defad8c6fdff869af796eed9;p=thirdparty%2FPython%2Fcpython.git Make the module docstring agree with reality: the module prvides the "handler()" function, not the "handle()" function. --- diff --git a/Lib/cgitb.py b/Lib/cgitb.py index 619bdfc25a1b..381fb7b8e7de 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'