hi,

I need to do some for loop on iterables which could be empty
sometimes, for example

a_list = []

for i in a_list:
 #do something

is this safe? or should I put a if statement to test it first?

Thanks
james

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

Reply via email to