3 ms·
I'm specifically referring to OrderedDict in this case, which does have guaranteed, insertion-based ordering. It was introduced in 3.1, circa 2009, via PEP 372.
by bmh100 10y ago
I'm specifically referring to OrderedDict in this case, which does have guaranteed, insertion-based ordering. It was introduced in 3.1, circa 2009, via PEP 372.
- wolf550e 10y agohttps://docs.python.org/2/library/collections.html#ordereddict-objects https://docs.python.org/2/library/collections.html#ordereddi... > New in version 2.7.
- bmh100 10y agoThat's a good point. I didn't realize that it was also introduced into 2.7 at the same time.
- deleted 10y ago[deleted]