Home

On 2007-09-12, Mark Summerfield <m.n.summerfield@googlemail.com>
wrote:
> Actually I meant by key order, so insertion order doesn't
> matter at all. If you need a dictionary-like data structure
> that respects insertion order you could use a list of (key,
> value) tuples.
>
> Another respondent asked about use cases.

A mapping with sorted keys could theoretically be convenient when
your keys are comparable but not hashable.

--
Neil Cerutti

previous
next

Re: Getting rid of bitwise operators in Python 3?
Re: Member function pointer, delegates
Re: How to call module functions inside class instance functions?
Re: Undeterministic strxfrm?
Re: Odd error message...
paraprotex opinie
typy bukmacherskie
laptop
kamery sportowe
egipt wakacje