Fredrik Lundh wrote:
> James Stroud wrote:
> 
> 
>>Perhaps you did not know that you can inheret directly from dict, which
>>is the same as {}. For instance:
>>
>>class Dict({}):
>>   pass

I must have been hallucinating. I swear I did this before and it worked 
just like class Dict(dict). Since it doesn't read as well, I've never 
used it.

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

Reply via email to