Antoine Pitrou added the comment: > Ezio Melotti added the comment: > > Would using callable() instead of inspect.isfunction() be ok?
I'm not sure, because it would also select classes. I guess we need something a bit smarter. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21740> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com