[Python-Dev] Two spaces or one?
g.brandl at gmx.net
Tue Jul 24 08:20:14 CEST 2007
> In PEP 9 there's a requirement that PEPs must follow the "emacs
> convention" of 2 spaces after a period. (I didn't know this was an emacs
> convention, I thought it was a convention of people who used typewriters.)
It's an Emacs convention in the sense that its auto-filling function expects
that; it will not break lines after a period which is followed by a
single space only.
(These are the default settings, this being Emacs you can customize it.)
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Python-Dev