Michael Rans <mcar...@yahoo.co.uk> added the comment:
My use case is in testing. Currently I use an OrderedDict, but since dict introduced ordering in 3.7, I was considering switching. For my test, I need to check that the dictionary is the same both in content and order. I can indeed use your one liner, but just thought it would be useful to have a method available. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45093> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com