[Biopython-dev] 2to3 and doctests

Peter biopython at maubp.freeserve.co.uk
Fri Jul 16 09:50:57 EDT 2010


Hi Tiago,

You've been looking more carefully at 2to3 and doctests than I have,
perhaps you can answer this query for me: It seems to me it does
not automatically fix doctests.

I'm aware of the -d or --doctests_only option, but that means we have
to run 2to3 twice I think (once for the code, once for the doctests).

Is there an extra flag or something obvious I am missing here? I want
to call 2to3 once and have it fix the code including the doctests.

Peter


More information about the Biopython-dev mailing list