TABs (was: Waffling between Python and Ruby)

Mark Hammond MarkH at ActiveState.com
Mon Jun 19 20:01:24 EDT 2000


"Paul Jackson" <pj at sgi.com> wrote in message
news:8iltfj$hm9u$1 at fido.engr.sgi.com...
>
> |> 'Tabs will be replaced with %d spaces\n Are you sure
> |> Y/N:'%tabSize)
>
> But a tab isn't 8 spaces, but rather the number of
> spaces needed to get to the next multiple of 8 column,
> which might be less than 8 spaces (s/8/tabSize/g, if
> you must).

I agree, except you made the common mistake of using "8" where you meant
"the next tab-stop" ;-)

Mark.






More information about the Python-list mailing list