[Python-ideas] `OrderedDict.sort`

Ram Rachum ram.rachum at gmail.com
Tue Sep 24 15:52:34 CEST 2013

Then how do you explain `move_to_end`?

Sent from my phone.
On Sep 24, 2013 3:50 PM, "Brian Curtin" <brian at python.org> wrote:

> On Tue, Sep 24, 2013 at 7:27 AM, Ram Rachum <ram.rachum at gmail.com> wrote:
> > I think that your mistake is defining OrderedDict as a dict sorting by
> > insertion order.
> That's the definition straight out of the documentation. "An
> OrderedDict is a dict that remembers the order that keys were first
> inserted."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130924/29fadf71/attachment.html>

More information about the Python-ideas mailing list