A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-May/126382.html below:

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

[Python-Dev] Purpose of Doctests [Was: Best practices for Enum] [Python-Dev] Purpose of Doctests [Was: Best practices for Enum]Lennart Regebro regebro at gmail.com
Mon May 20 07:57:43 CEST 2013
On Mon, May 20, 2013 at 1:51 AM, Gregory P. Smith <greg at krypto.org> wrote:
>
> 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
>> > 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.
>
> Oh cool. I didn't realize that already existed!

It won't change any output, though, which still means that they tend to break.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4