non descriptive error

Neil Hodgson nyamatongwe+thunder at gmail.com
Mon Oct 10 01:40:07 CEST 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