summaryrefslogtreecommitdiffstats
path: root/Doc/documenting
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-03-20 18:14:07 (GMT)
committerGeorg Brandl <georg@python.org>2011-03-20 18:14:07 (GMT)
commit2592f62a5a7dca59d91b313794c92f4cb592e654 (patch)
treec215918e70038d8f84bdd9acb9ec2a87770cc031 /Doc/documenting
parent758238588715cc2fe02c6d7dfe6f6030025f4d82 (diff)
downloadcpython-2592f62a5a7dca59d91b313794c92f4cb592e654.zip
cpython-2592f62a5a7dca59d91b313794c92f4cb592e654.tar.gz
cpython-2592f62a5a7dca59d91b313794c92f4cb592e654.tar.bz2
tabs are verboten.
Diffstat (limited to 'Doc/documenting')
-rw-r--r--Doc/documenting/style.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/documenting/style.rst b/Doc/documenting/style.rst
index d055711..9baab12 100644
--- 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.