indentation

Terry Reedy tjreedy at udel.edu
Mon Oct 20 14:25:17 EDT 2008


Ross Ridge wrote:
> Bruno Desthuilliers  <bruno.42.desthuilliers at websiteburo.invalid> wrote:
>> I can't remember having seen any other "standard" so far.
>>
> Ross Ridge a écrit :
>> I've seen various indentation styles used in examples on this newsgroup.
> 
> Bruno Desthuilliers  <bruno.42.desthuilliers at websiteburo.invalid> wrote:
>> I meant: in a real-life project.
> 
> So?  There's no reason to assume the styles people use on this newsgroup
> don't reflect those they use in "real-life" projects.

Yes there is.  If I type *hypothetical* code for a post, *I* have to 
type all the spaces, and I often use 2 per indent level.  If I type in 
IDLE, *it* adds the spaces (4 per indent) automatically.




More information about the Python-list mailing list