On Jun 25, 5:31 am, samwyse <samw...@gmail.com> wrote:
> I need a dict-like object that, if it doesn't contain a key, will
> return the value from a "parent" object.  

See:  http://code.activestate.com/recipes/305268/
Also try subclassing dict and implementing a __missing__() method.


Raymond

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

Reply via email to