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 <rep...@bugs.python.org> <http://bugs.python.org/issue20710> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com