Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#100 doctest not displayed when alone after the first line

open
Edward Loper
5
2009-02-24
2009-02-24
Grahack
No

When my docstring is:

"""First line to briefly introduce the object.

>>> import os
>>> print os
<module 'os' from '/usr/lib/python2.5/os.pyc'>

"""

With no text after the first line but the doctest, Epydoc doesn't link to a detailed description at the end of the page to see the doctest.

I don't know if it's intented. The only workaround to be able to see the doctest in the gnerated doc was to force me to invent a sentence to add after or before the doctest, in addition to the very first line.

Thanks.

Discussion