[Python-Dev] Indentation in reStructuredText documents (was: [Python-checkins] peps: Restore whitespace characters lost via email transmission.)

Brian Curtin brian.curtin at gmail.com
Thu Jul 21 04:24:38 CEST 2011


On Wed, Jul 20, 2011 at 20:31, Ben Finney <ben+python at benfinney.id.au>wrote:

> Éric Araujo <merwok at netwok.org> writes:
>
> > FYI, reST uses three-space indents, not four (so that blocks align
> > nicely under the leading two dots + one space), so I think the change
> > was intentional.
>
> No, reST doesn't specify any particular level of indentation. Like most
> Python programmers I prefer four-space indentation, so I do the same in
> my reST documents::
>
>    ..  epigraph::
>        “Foo bar baz” —Fnorble
>
> I strongly recommend the same for Python documentation.
>

We already use three and it seems to look and function properly.

-1 to a mass re-spacing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110720/f421298d/attachment.html>


More information about the Python-Dev mailing list