default behavior

Christian Heimes lists at cheimes.de
Tue Aug 3 20:16:32 EDT 2010


> Perhaps punctuation will help clarify my intent:
> 
> __missing__ is *not* part of (dict)s, as shown by dir(dict()):

Indeed, that's correct. Can we agree, that __missing__ is an optional
feature of the dict interface, that can be implemented in subclasses of
dict?

Christian




More information about the Python-list mailing list