New C files in 2.x are using 4-space indents, too.
This commit is contained in:
parent
f240346bb1
commit
fa374a2c14
|
@ -47,7 +47,8 @@ C dialect
|
|||
Code lay-out
|
||||
|
||||
- Use single-tab indents, where a tab is worth 8 spaces.
|
||||
(For Python 3000, see the section Python 3000 below.)
|
||||
(For Python 3000 and entirely new source files, see the section
|
||||
Python 3000 below.)
|
||||
|
||||
- No line should be longer than 79 characters. If this and the
|
||||
previous rule together don't give you enough room to code, your
|
||||
|
@ -195,9 +196,9 @@ Documentation Strings
|
|||
|
||||
Python 3000
|
||||
|
||||
In Python 3000, we'll switch to a different indentation style:
|
||||
4 spaces per indent, all spaces (no tabs in any file). The
|
||||
rest will remain the same.
|
||||
In Python 3000 (and in the 2.x series, in new source files),
|
||||
we'll switch to a different indentation style: 4 spaces per indent,
|
||||
all spaces (no tabs in any file). The rest will remain the same.
|
||||
|
||||
|
||||
References
|
||||
|
|
Loading…
Reference in New Issue