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

Benjamin Peterson benjamin at python.org
Mon May 20 01:31:33 CEST 2013


2013/5/19 Gregory P. Smith <greg at krypto.org>:
> 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.

2to3 can operate on doctests, though it doesn't do anything different
to them than it does to normal sourcecode.


--
Regards,
Benjamin


More information about the Python-Dev mailing list