default behavior

Christian Heimes lists at cheimes.de
Wed Aug 4 02:16:32 CEST 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