] > Re: [Python-projects] Not enough public methods (Logilab.org)

Email Re: [Python-projects] Not enough public methods

from
Mateusz Łoskot <mateusz at loskot dot net>
subject
Re: [Python-projects] Not enough public methods
date
2006/01/15 16:10
Fabien Schwob wrote:
> 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


is a reply to