In new version of python are dicts are working similar to orderedDicts?, can you provide me with reference.
Asked
Active
Viewed 46 times
0
-
3Yes, the built-in `dict` type is ordered as of Python 3.7 ([release notes](https://docs.python.org/3/whatsnew/3.7.html)). – sj95126 Oct 14 '21 at 04:39
-
I cannot find about dict in the link you provided. – Abhi4mu Oct 14 '21 at 04:43
-
2It's near the beginning, under "Python data model improvements": "the insertion-order preservation nature of dict objects has been declared to be an official part of the Python language spec." – sj95126 Oct 14 '21 at 04:44
-
Oh found it, Thank you @sj95126. – Abhi4mu Oct 14 '21 at 04:47
-
Does this answer your question? [Are dictionaries ordered in Python 3.6+?](https://stackoverflow.com/questions/39980323/are-dictionaries-ordered-in-python-3-6) – Tyberius Oct 15 '21 at 14:58