NEWB: General purpose list iteration?

Donald Newcomb DRNewcomb at attglobal.NOT.net
Fri Aug 12 08:11:52 EDT 2005


"Devan L" <devlai at gmail.com> wrote in message
news:1123817879.772095.6240 at g44g2000cwa.googlegroups.com...
> This will just do_something(object) to anything that is not an
> iterable. Only use it if all of your nested structures are of the same
> depth.

Cool! I'll try it.

-- 
Donald Newcomb
DRNewcomb (at) attglobal (dot) net





More information about the Python-list mailing list