On Sat, Sep 27, 2008 at 10:38 AM, Victor Stinner <victor.stinner at haypocalc.com> wrote: > Hi, > > As I remember, last month 2to3 was able to fix my reST documentation > using "-d" option. But trunk version fails to parse my reST documents. Should > I run fsck on my brain or is it really a regression? Looks like it's my fault. Fixed in r66644. > > Short example: > ----------------- > Title > ===== > > Some text before the example: > > >>> print "Hello world!" > Hello world! > > Verbatim block: :: > > >>> print "Hello world!" > Hello world! > ----------------- > > The document can be checked with: > python2.5 -c "import doctest; doctest.testfile('test.rst')" > > 2to3 output: > ----------------- > $ 2to3 -d test.rst > (...) > RefactoringTool: Can't parse test.rst: ParseError: bad input: type=28, > value='==', context=('', (2, 0)) > (...) > ----------------- > > -- > Victor Stinner aka haypo > http://www.haypocalc.com/blog/ > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1."
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