At Tuesday 14/11/2006 16:00, [EMAIL PROTECTED] wrote:
Traversing a list of variables, I need to check wheter an element in
the list is an instance of a (user defined) class. What cind of
comparison operator can I use? Can't seem to find this in the
documentation. I anyone have an example it is much appreciated.
isinstance
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
--
http://mail.python.org/mailman/listinfo/python-list