]> granicus.if.org Git - python/commitdiff
Make the module docstring agree with reality: the module prvides the
authorFred Drake <fdrake@acm.org>
Wed, 19 Dec 2001 14:27:41 +0000 (14:27 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 19 Dec 2001 14:27:41 +0000 (14:27 +0000)
"handler()" function, not the "handle()" function.

Lib/cgitb.py

index 619bdfc25a1b27d1fa5a32f56fdde7d9a18da5a0..381fb7b8e7ded67f78b6cc348d2954b467a54600 100644 (file)
@@ -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'