(original) (raw)

Let's not do this. Once it's documented as returning an OrderedDict there's an additional promise about the API, e.g. move\_to\_end() exists.

On Sun, Dec 17, 2017 at 10:30 PM, 尚辉 <shangdahao@gmail.com> wrote:
Since regular dicts are ordered in 3.7, it might be cleaner to returning regular dict instead of OrderedDict?



--
--Guido van Rossum (python.org/\~guido)