David 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.)

Well, actually it may be important... What's so wrong with d.get('key')
that you need this behaviour ?

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

Reply via email to