[issue8525] Display exceptions' subclasses in help()

Nick Coghlan report at bugs.python.org
Sun Oct 21 03:27:06 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I've merged the version that displays up to 4 builtin subclasses in a flat list when help() is called on a type. Thanks for the patch Sanyam, and for the comments and suggestions everyone else.

While I'm closing out this feature request as implemented, if anyone's interested in pursuing the more sophisticated showtree/getclasstree approach that would better show position in the class hierarchy (both parents *and* children), feel free to file a new enhancement issue that refers back to this one.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue8525>
_______________________________________


More information about the Python-bugs-list mailing list