[Zope] how to know if an object is an objectmanager

Jerome Alet alet@unice.fr
Thu, 3 May 2001 12:33:29 +0200 (MET DST)


On Thu, 3 May 2001, Pierre-Julien Grizel wrote:

> You can use the Python builtin issubclass :
> ex :
> if issubclass(object.__class__, ObjectManager):
>   xxx

> Jerome Alet wrote:
> > 
> > I'm writing something generic in a python script

This doesn't work in a python script (name starting with "_").

thanks anyway.

Jerome Alet