Kless wrote:
Is there any way of to get the class name to avoid to have that write it?--------------- class Foo: super(Foo, self) --------------- * Using Py 2.6.2
>>> class Foo(object): ... def cls(self): ... return self.__class__ ... >>> Foo().cls() <class '__main__.Foo'> -- http://mail.python.org/mailman/listinfo/python-list