On Thu, Apr 30, 2009 at 12:20 AM, Terry Reedy <tjreedy at udel.edu> wrote: > hasattr(ob, '__iter__') > Right, that works under Python 3, (It won't cover str under Python 2 though) Tarek -- Tarek Ziadé | http://ziade.org