[Python-Dev] Purpose of Doctests [Was: Best practices for Enum]

Barry Warsaw barry at python.org
Mon May 20 17:30:37 CEST 2013


On May 19, 2013, at 04:27 PM, Gregory P. Smith wrote:

>Idea: I don't believe anybody has written a fixer for lib2to3 that applies
>fixers to doctests.  That'd be an interesting project for someone.

I'm not sure that's true.  I don't use 2to3 anymore if I can help it, but I'm
pretty sure you can 2to3 your doctests too.

-Barry


More information about the Python-Dev mailing list