26 Jul
2001
26 Jul
'01
7:47 a.m.
Michel Pelletier wrote:
I don't get a SyntaxError, I get an IndentationError:
Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/tmp/python-2029Osa", line 4 print 'foo' ^ IndentationError: expected an indented block
Notice that it also points to a weird place.
Assuming a 4 character indentation, the caret is pointing to where the indentation would be expected to start. Chance or design? I don't know. -- Steve Alexander Software Engineer Cat-Box limited