textwrap.dedent replaces tabs?
Tom Plunket
tomas at fancy.org
Sat Dec 30 00:55:29 EST 2006
OKB (not okblacke) wrote:
> > (You dedent common leading tabs, except if preceded by common leading
> > spaces (?)).
>
> There cannot be common leading tabs if they are preceded by
> anything. If they were preceded by something, they wouldn't be
> "leading".
Right, but 'common leading whitespace' is a broader term but similarly
unambiguous. <space><tab> != <tab>, but there are two tabs of common
leading whitespace in '\t\t ' and '\t\t\t'.
-tom!
--
More information about the Python-list
mailing list