<div dir="ltr">Let's not do this. Once it's documented as returning an OrderedDict there's an additional promise about the API, e.g. <code class="gmail-descname">move_to_end</code><span class="gmail-sig-paren">() exists.<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 17, 2017 at 10:30 PM, 尚辉 <span dir="ltr"><<a href="mailto:shangdahao@gmail.com" target="_blank">shangdahao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><pre style="white-space:pre-wrap;word-wrap:break-word;color:rgb(0,0,0);font-size:11.8953px">Since regular dicts are ordered in 3.7, it might be cleaner to returning regular dict instead of OrderedDict?</pre>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>