On Sat, Apr 22, 2017 at 3:08 AM, Albert-Jan Roskam <sjeik_ap...@hotmail.com> wrote: > For regular dicts I like to use the dict() function because the code is > easier to write and read. But OrderedDict() is not equivalent to dict(): > In the docstring of collections.OrderedDict it says "keyword arguments are > not recommended because their insertion order is arbitrary" > (https://github.com/python/cpython/blob/3.6/Lib/collections/__init__.py) >
>From Python 3.6, keyword arguments are ordered. So the docstring is outdated. -- https://mail.python.org/mailman/listinfo/python-list