non descriptive error
Neil Hodgson
nyamatongwe+thunder at gmail.com
Sun Oct 9 19:40:07 EDT 2005
Timothy Smith:
> FYI i have located where the problem was. in the first if statement
> there was an unbalanced ). now since when does python not give a
> descriptive error for that?
I see this with the arrow pointing at the extra ')':
>pythonw -u "xx.py"
File "xx.py", line 3
if
Decimal(self.parent.TillDetails[self.TillSelection.GetStringSelection()]['ChangeTinBalance']))
== Decimal('0'):
^
SyntaxError: invalid syntax
Neil
More information about the Python-list
mailing list