Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f5b49f

Browse files
committed
Make the module docstring agree with reality: the module prvides the
"handler()" function, not the "handle()" function.
1 parent 0d15366 commit 4f5b49f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/cgitb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
By default, tracebacks are displayed but not saved, and context is 5.
1414
1515
Alternatively, if you have caught an exception and want cgitb to display it
16-
for you, call cgitb.handle(). The optional argument to handle() is a 3-item
16+
for you, call cgitb.handler(). The optional argument to handler() is a 3-item
1717
tuple (etype, evalue, etb) just like the value of sys.exc_info()."""
1818

1919
__author__ = 'Ka-Ping Yee'

0 commit comments

Comments
 (0)