> Alan Isaac wrote: > > I have a subclass of dict where __getitem__ returns None rather than > > raising KeyError for missing keys. (The why of that is not important for > > this question.)
"Bruno Desthuilliers" <[EMAIL PROTECTED]> wrote:
> Well, actually it may be important... What's so wrong with d.get('key')
> that you need this behaviour ?
I want to use the mapping with string interpolation.
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list
