Steven Bethard wrote:
> def __call__(cls, *args, **kwargs):
>     obj = cls.__new__()
>     if not isinstance(obj.__class__, cls):
              ^^^^^^^^^^
              issubclass

>         return obj
>     obj.__class__.__init__(obj, *args, **kwargs)
>     return obj

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

Reply via email to