
April 29, 2009
11:34 p.m.
On Wed, Apr 29, 2009 at 9:02 PM, Pascal Chambon <chambon.pascal@wanadoo.fr> wrote:
Well, I guess the new abilities of abstract base classes and stuffs, in 2.6, allow this : http://docs.python.org/library/collections.html
You should call something like isinstance(ovj, Iterable), which is less cute than isiterable(obj), but far more flexible ^^
Right that's it, thanks :)