Serhiy Storchaka added the comment:

> It does make me wonder whether it might be worth defining a __help__ magic 
> method that completely overrides what help(obj) displays.

This should be very complex protocol if take to account that help() outputs 
formatted and highlighted text and pydoc can output to html format, and 
alternative Python shells can provide alternative help().

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13691>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to