Bror Johansson: >I have a class-hierarchy (fairly deep and fairly wide). > >Is there a good and general way to test an instance-object obj for having a >class belonging to a certain "sub-tree" of the hierarchy with a common >parent class C?
isinstance(obj,C) -- René Pijlman -- http://mail.python.org/mailman/listinfo/python-list