On 16/07/2015 08:11, Ben Finney wrote:
Zachary Ware <zachary.ware+pyl...@gmail.com> writes:
On Thu, Jul 16, 2015 at 1:31 AM, Ben Finney <ben+pyt...@benfinney.id.au> wrote:
Fine by me. What is the mapping API that needs to be implemented though?
Have a look at collections.MutableMapping.
Thank you, that's great! I hadn't realised the ‘collections’ module had
such comprehensive coverage of Python built-in type APIs.
You might get some inspiration from
http://nullege.com/codes/search/collections.MutableMapping
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list