How can tell if an object is a subclass of something else?

Imagine...

class Thing:
    pass

class Animal:
    pass

class Dog:
    pass

d = Dog()

I want to find out that 'd' is a Dog, Animal and Thing.  Such as...

d is a Dog
d is a Animal
d is a Thing

Thanks

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to