[issue9118] help() on a property descriptor launches interactive help

Alexander Belopolsky report at bugs.python.org
Thu Jul 1 06:02:49 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

This is simply because X.foo.fset is None and help(None) is the same as help().  Now, I think help(None) should print help on None object rather than start interactive help.  Please consider attached patch.

----------
keywords: +patch
nosy: +belopolsky
stage: needs patch -> patch review
Added file: http://bugs.python.org/file17824/issue9118.diff

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


More information about the Python-bugs-list mailing list