Comment

Peter Bengtsson

indeed.

Parent comment

Gerhard Häring

Of course since Python 2.2, you could just write: type(obj) in (list, tuple) ;)