Terry J. Reedy <tjre...@udel.edu> added the comment: The doc says that help takes one optional arg: No arg: interactive help system String: interpret as name of something Any other object: help page for that object [by implication, multiple args: TypeError]
Not returning help for None is a bug, so I say yes, backport, including to 2.6/7 if they have same bug. I think the OP's example, which turns on the fact that None is an object that can be attached to any target, and not just a name, illustrates the bugginess of the current behavior. If NEWS includes a detailed list of bugfixes, then this could be included. If not, no. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9118> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com