[Zope3-checkins] Re: [Checkins] SVN: zope.interface/trunk/src/zope/interface/human. Fixed RsT markup

Christian Theune ct at gocept.com
Wed Jun 27 05:32:57 EDT 2007


Am Mittwoch, den 27.06.2007, 04:52 -0400 schrieb Stephan Richter:
> On Wednesday 27 June 2007 04:33, Christian Theune wrote:
> > > I would fix the other docs. We are definitely not using "::" for doctests
> > > anywhere else.
> >
> > I am. Everywhere.
> 
> But none of the Zope packages do. I have not seen "::" for doctests for a very 
> long time.

Hmm. I used this as a chance to look up the reST documentation. They
seem to have added doctest support a while ago. I didn't notice that.
Until now, the syntax highlighting for reST in my editor only recognized
it as a literal block when prefixed with ::

They also say that indentation isn't needed for doctests. I tried this
on a doctest I was working on right now and both the docutils `rst2html`
and the test runner where able to cope with it. Looks like I need to get
an update on my syntax highlighting. Otherwise doctests are extremely
painful to edit ...

Christian



More information about the Zope3-Checkins mailing list