Nested function scope problem

Justin Azoff justin.azoff at gmail.com
Sat Jul 22 15:30:32 EDT 2006


Bruno Desthuilliers wrote:
> Justin Azoff a écrit :
> >     if len(tok) > 0:
> > should be written as
> >     if(tok):
> >
>
> actually, the parenthesis are useless.

yes, that's what happens when you edit something instead of typing it
over from scratch :-)

-- 
- Justin




More information about the Python-list mailing list