Dictionary inheritance

bruno modulix onurb at xiludom.gro
Sat Aug 13 16:47:42 CEST 2005

Devan L wrote:
> Talin wrote:
>>I want to make a dictionary that acts like a class, in other words,
>>supports inheritance: 
> 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