[issue21740] doctest doesn't allow duck-typing callables
Raymond Hettinger
report at bugs.python.org
Sat Jun 21 04:18:09 CEST 2014
Raymond Hettinger added the comment:
> I'm not sure, because it would also select classes.
Is there any reason to preclude classes? They could reasonably have docstrings that contain doctests.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21740>
_______________________________________
More information about the Python-bugs-list
mailing list