"Erik Johnson" <ej at somewhere.com> <> typed

> 
> "Ben Finney" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> "Sebastian 'lunar' Wiesner" <[EMAIL PROTECTED]> writes:
>>
>> > Just a tip for you: In python you never use tabs for indentation.
>>
>> For some value of "you".
>>
>> > The python style guide [1] recommends four spaces per indentation
>> > level.
>> >
>> > [1] http://www.python.org/dev/peps/pep-0008/
>>
>> It's not quite absolute on the topic:
>>
>>     For new projects, spaces-only are strongly recommended over tabs.
> 
>     Even if were, read the Introduction. This is a coding standard
>     intended
> to apply to code which is going to checked in as part of the core
> python
> build, not all Python!  It's probably a pretty good standard to be
> following in general, but come on...

It is, and especially the problems with tabs shows you, why it is good
practice to follow the standard in your own code, too...


-- 
Freedom is always the freedom of dissenters.
                                      (Rosa Luxemburg)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to