Message360630
The doc for pprint.PrettyPrinter at https://docs.python.org/3/library/pprint.html says:
If sort_dicts is true (the default), dictionaries will be formatted with their keys sorted, otherwise they will display in insertion order
I believe the insertion order is not even known by normal dicts (only by OrderedDict), so I think the last phrase must be wrong. If it's somehow correct, it deserves explaining.... |
|
Date |
User |
Action |
Args |
2020-01-24 17:01:37 | TextGeek | set | recipients:
+ TextGeek, docs@python |
2020-01-24 17:01:37 | TextGeek | set | messageid: <1579885297.01.0.729190737587.issue39444@roundup.psfhosted.org> |
2020-01-24 17:01:36 | TextGeek | link | issue39444 messages |
2020-01-24 17:01:36 | TextGeek | create | |
|