Franz Steinhaeusler wrote: > 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.
really? that's a syntax error (you cannot change indentation nillywilly inside a block), and the Python I'm using surely flags this as an error: $ python -c "print repr(open('franz.py').read())" 'def a():\n\tprint\n\t print\n' $ python franz.py File "franz.py", line 3 print ^ SyntaxError: invalid syntax while tabnanny gives it one thumb up: $ python -m tabnanny -v franz.py 'franz.py': Clean bill of health. what Python version are you using? </F> -- http://mail.python.org/mailman/listinfo/python-list