[Numpy-discussion] Code samples in docstrings mistaken as doctests

Alan McIntyre alan.mcintyre@gmail....
Mon Jun 23 15:14:47 CDT 2008


On Mon, Jun 23, 2008 at 4:07 PM, Pauli Virtanen <pav@iki.fi> wrote:
> Another idea (in addition to whitelisting): how easy would it be to
> subclass doctest.DocTestParser so that it would eg. automatically +IGNORE
> any doctest lines containing ">>> plt."?

I'll play around with that and see how hard it is to just ignore the
ugly bits that currently require all that per-line directive stuff.


More information about the Numpy-discussion mailing list