Tom Plunket wrote:

> I guess I could manually replace all tabs with eight
> spaces (as opposed to 'correct' tab stops), and then replace them when
> done, but it's probably just as easy to write a non-destructive dedent.

You mean, as easy as

>>> "\talpha\tbeta\t".expandtabs()
'        alpha   beta    '

?

Peter

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to