cpython: c7274a17960f (original) (raw)

Mercurial > cpython

changeset 68766:c7274a17960f

tabs are verboten.

Georg Brandl georg@python.org
date Sun, 20 Mar 2011 18:14:07 +0000
parents 13a74990db8c
children 4a5782a2b074
files Doc/documenting/style.rst
diffstat 1 files changed, 4 insertions(+), 3 deletions(-)[+] [-] Doc/documenting/style.rst 7

line wrap: on

line diff

--- a/Doc/documenting/style.rst +++ b/Doc/documenting/style.rst @@ -14,9 +14,10 @@ document. Use of whitespace ----------------- -All reST files use an indentation of 3 spaces. The maximum line length is 80 -characters for normal text, but tables, deeply indented code samples and long -links may extend beyond that. +All reST files use an indentation of 3 spaces; no tabs are allowed. The +maximum line length is 80 characters for normal text, but tables, deeply +indented code samples and long links may extend beyond that. Code example +bodies should use normal Python 4-space indentation. Make generous use of blank lines where applicable; they help grouping things together.