Ben Finney:

> > bash# /usr/bin/python sample.py
> >   File "sample.py", line 2
> >     name = "blah"
> >     ^
> > SyntaxError: invalid syntax
>
> Indentation is syntax in Python.

But I agree, a little better error message may help there, something
that contains "indentation" in it :-)

Bye,
bearophile
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to