At 04:21 PM 7/20/2011 +0200, Ãric Araujo wrote:
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. The âDocumenting Pythonâ guide tells this (in the standard docs), and I think it applies to PEPs too.
PEP 12 prescribes four-space indents for PEPs, actually, wherever it mentions an specific indentation depth. Also, a formfeed character was lost, not just the leading spaces.
Essentially, though, I was just merging my working copy, and those were the only differences that showed up (apart from the filled-in Post-History header), so I assumed it was just whitespace lost in transmission.
(I'm a bit surprised that three-space indents are mandated for anything involving documenting Python in reST, though, since that would mean you'd also have to indent your code samples by three spaces, or else have an editor that supports two different tab widths.)
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com