Éric Araujo added the comment: Patch looks good, but I’m worried about the change from TypeError to AttributeError in a stable version.
Could you also make clear that all function-like objects are accepted in the doc? ---------- nosy: +eric.araujo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17159> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com