[Python-checkins] cpython: tabs are verboten. (original) (raw)
georg.brandl python-checkins at python.org
Sun Mar 20 19:13:58 CET 2011
- Previous message: [Python-checkins] cpython (2.7): Fix typo in class name
- Next message: [Python-checkins] cpython: Use proper gettext plural forms in optparse (closes #4391).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/cpython/rev/c7274a17960f changeset: 68766:c7274a17960f parent: 68764:13a74990db8c user: Georg Brandl <georg at python.org> date: Sun Mar 20 18:14:07 2011 +0000 summary: tabs are verboten.
files: Doc/documenting/style.rst
diff --git a/Doc/documenting/style.rst b/Doc/documenting/style.rst --- a/Doc/documenting/style.rst +++ b/Doc/documenting/style.rst @@ -14,9 +14,10 @@ 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.
-- Repository URL: http://hg.python.org/cpython
- Previous message: [Python-checkins] cpython (2.7): Fix typo in class name
- Next message: [Python-checkins] cpython: Use proper gettext plural forms in optparse (closes #4391).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]