[issue20710] Make pydoc consistent about bound methods

Larry Hastings report at bugs.python.org
Fri Feb 21 02:51:42 CET 2014


Larry Hastings added the comment:

A slight tweak to the patch.  Previously I was just using truth testing on the value I got from "__self__", but that's wrong if the object is considered false (e.g. ''.zfill).  (Yury got this right in #20711, and I copied from him!)

----------
Added file: http://bugs.python.org/file34166/larry.fix.help.on.bound.methods.4.diff

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


More information about the Python-bugs-list mailing list