[Python-ideas] `OrderedDict.sort`

Brian Curtin brian at python.org
Tue Sep 24 15:50:31 CEST 2013


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."


More information about the Python-ideas mailing list