Paul Rubin <no.email@nospam.invalid> writes:
>     new_list = chain( ((x,y-1), (x,y+1)) for x,y in coord_list )

Sorry:

   new_list = list(chain( ((x,y-1), (x,y+1)) for x,y in coord_list))
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to