Luis M. González wrote:
> On 26 mar, 11:49, kj <no.em...@please.post> wrote:
>   
>> What's the word on using "classes as namespaces"?  E.g.
>>
>> class _cfg(object):
>>     spam = 1
>>     jambon = 3
>>     huevos = 2
>>
>> breakfast = (_cfg.spam, _cfg.jambon, _cfg.huevos)
>>     
>
> I see no problem.
> I wouldn't mix English, French and Spanish in the same recipe though...
>   
Why? Do you think it might get over cooked? ;c)

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

Reply via email to