[issue21740] doctest doesn't allow duck-typing callables

Ezio Melotti report at bugs.python.org
Fri Jun 20 00:07:52 CEST 2014


Ezio Melotti added the comment:

Would using callable() instead of inspect.isfunction() be ok?

----------

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


More information about the Python-bugs-list mailing list