[issue9284] inspect.findsource() cannot find source for doctest code

Benjamin Peterson report at bugs.python.org
Thu Jun 9 16:52:54 CEST 2011


Benjamin Peterson <benjamin at python.org> added the comment:

- First line should be directly after the docstring
- One import per line
- Shouldn't this test be in test_inspect, since that's what you're changing?

----------

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


More information about the Python-bugs-list mailing list