[Python-Dev] Purpose of Doctests [Was: Best practices for Enum]
Gregory P. Smith
greg at krypto.org
Mon May 20 01:51:21 CEST 2013
On May 19, 2013 4:31 PM, "Benjamin Peterson" <benjamin at python.org> wrote:
> 2013/5/19 Gregory P. Smith <greg at krypto.org>:
> > Idea: I don't believe anybody has written a fixer for lib2to3 that
> > 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.
Oh cool. I didn't realize that already existed!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev