Steve Holden wrote:
> Neil Cerutti wrote:
>  >>> y = ""
>  >>> if y[0] == "":
> ...   print "True"
> ... else:
> ...   print "False"
> ...
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> IndexError: string index out of range
>  >>>
> 
Uhm, weren't we talking about a list of strings?

/W
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to