[issue29920] Document cgitb.text and cgitb.html

Serhiy Storchaka report at bugs.python.org
Wed May 10 05:24:52 EDT 2017


Serhiy Storchaka added the comment:

The main functions of the cgitb module are enable() and handler(). I would describe them first, and text() and html() at the end (maybe in separate subsection). Actually the main part of the descriptions of text() and html() can be shared and placed in a paragraph preceding them: "The following two functions handle..."

Note that the documented name of the first parameter is "info", but actual name is "einfo".

----------
nosy: +martin.panter, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29920>
_______________________________________


More information about the Python-bugs-list mailing list