Tabs and spaces (style)

Steve Holden sholden at holdenweb.com
Wed May 2 04:15:21 CEST 2001


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message
news:PTFH6.7968$sk3.2199157 at newsb.telia.net...
> Alex Martelli wrote:
> > > What is the consensus about mixing tabs and spaces in a Python script?
> >
> > I don't think there is one.  Guido's style guide recommends using both,
> > with a tabsize of 8, so I expect most Pythonistas follow that style.
Yet,
> > for what it counts, I personally prefer setting my editors to always
save
> > with spaces only
>
> note that the standard distribution uses spaces throughout.  guess
> GvR hasn't gotten around to update the style guide...
>
Which still, IIRC, ends halfway through a sentence. I figured that was when
he was attacked by the PS




More information about the Python-list mailing list