The idea looks interesting, but you can also design a couple of functions that scan the docstrings of a given class and its methods to produce what you need:
doctestAll(C) toHtml(C) This is probably simpler and gives similar results. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list