from
Mateusz Łoskot <mateusz at loskot dot net>
to
Python-Projects <python-projects at lists dot logilab dot org>
subject
Re: [Python-projects] Not enough public methods
date
Fabien Schwob wrote:2006/01/15 16:10
> Mateusz Åoskot a écrit :
> >
> > What is wrong? What should I add to my class to make PyLint happy? :-)
>
> In my mind, but I can make mistake, it's simpler to use a dictionary.
>
> d1 = {"id" : 0, "name" : "", "params" : []}
>
> It make sense to use a class when you will have method that will make it
> manipulation easier. But in this case, I think it will be faster to use
> a dictionary.
>
Good point.
I'll think about it.
Thanks
--
Mateusz Åoskot
http://mateusz.loskot.net
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects
