Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73750

Re: Creating a dict-like class that counts successful and failed key matches

From python@bdurham.com
References <1404135829.10485.136092537.2F0486D2@webmail.messagingengine.com> <CAPTjJmpkz4DPyCYSPNoteUuuBOzySzhjHzYPEXUv4MFH1sYE1A@mail.gmail.com>
Subject Re: Creating a dict-like class that counts successful and failed key matches
Date 2014-06-30 10:44 -0400
Newsgroups comp.lang.python
Message-ID <mailman.11345.1404139471.18130.python-list@python.org> (permalink)

Show all headers | View raw


Hi Chris,

> Sounds like you want to subclass dict, then. Something like this:

Nice!!! 

I need to study your solution, but at first blush it looks exactly like
what I wanted to implement.

Thank you!
Malcolm

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Creating a dict-like class that counts successful and failed key matches python@bdurham.com - 2014-06-30 10:44 -0400

csiph-web