hello,

On Thu, Sep 01, 2011 at 10:00:27AM +0200, Michiel Overtoom wrote:
> On Sep 1, 2011, at 09:48, Amogh M S wrote:
[...]
> > class S:
> >    def _init_(self, name=None):
> >        self.name = name
> > s = S("MyName")
> 
> Two things: Derive your class from object,

why's that better than just create a simple class, without
derive?


thanks:

a.

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

Reply via email to