Tabnanny really useful?
Franz Steinhaeusler
franz.steinhaeusler at utanet.at
Tue Dec 21 04:12:03 EST 2004
On Mon, 20 Dec 2004 13:00:39 -0600, "John Roth"
<newsgroups at jhrothjr.com> wrote:
>Tabnanny is intended to check whether indentation
>has mixed tabs and spaces. Files with mixed tabs
>and spaces _can_ compile just fine if the editor
>that produced them agrees with the compiler about
>the number of spaces that a tab occupies.
Thanks for your explanation.
I tried an found:
def a():
->print
->.print
where point is a space.
tabnanny here complains and python compile it just fine.
--
Franz Steinhaeusler
More information about the Python-list
mailing list