Dictionary inheritance

bruno modulix onurb at xiludom.gro
Sat Aug 13 10:47:42 EDT 2005


Devan L wrote:
> Talin wrote:
> 
>>I want to make a dictionary that acts like a class, in other words,
>>supports inheritance: 
(snip)
> 
> Dictionaries aren't classes? 

They are.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list