non descriptive error
jepler at unpythonic.net
jepler at unpythonic.net
Sun Oct 9 19:30:46 EDT 2005
On Mon, Oct 10, 2005 at 09:12:13AM +1000, Timothy Smith wrote:
> FAYI i have already found it and it was a wrongly indented code block :/
When indentation leaves an illegal program structure, Python gives a very
informative error message, such as
File "/tmp/x.py", line 3
return 3
^
IndentationError: unindent does not match any outer indentation level
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20051009/02b4f83a/attachment.sig>
More information about the Python-list
mailing list