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


Groups > comp.lang.python > #93911

Re: Mapping, with sequence as key, wildcard and subsequence matching

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Mapping, with sequence as key, wildcard and subsequence matching
Date 2015-07-16 08:27 +0100
References (2 earlier) <85bnfcve7w.fsf@benfinney.id.au> <CAPTjJmrNVFcT5O9H3EtiSa1rthjkLP2+hdVcRciTr9gmnmD7LA@mail.gmail.com> <85380ovcix.fsf@benfinney.id.au> <CAKJDb-PhFV48MDYjsn4Gf7REY8vkkcTb_9_fKQ0zDnSY6a0_dw@mail.gmail.com> <85pp3stw45.fsf@benfinney.id.au>
Newsgroups comp.lang.python
Message-ID <mailman.570.1437031807.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 16/07/2015 08:11, Ben Finney wrote:
> Zachary Ware <zachary.ware+pylist@gmail.com> writes:
>
>> On Thu, Jul 16, 2015 at 1:31 AM, Ben Finney <ben+python@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

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


Thread

Re: Mapping, with sequence as key, wildcard and subsequence matching Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-16 08:27 +0100

csiph-web