On Jul 1, 2:24 pm, Kurda Yon <[EMAIL PROTECTED]> wrote: > > By the way, "type(self)" returns the name of the class to which the > "self" belongs? > Does "instance" return "true" if the first argument belongs to the > class whose name is given in the second argument?
$ python Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11) [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> help(type) [...] >>> help(isinstance) [...] -- http://mail.python.org/mailman/listinfo/python-list