Message306913
in https://docs.python.org/3/tutorial/datastructures.html:
-----
5.5. Dictionaries
...
Here is a small example using a dictionary:
>>>
>>> tel = {'jack': 4098, 'sape': 4139}
>>> tel['guido'] = 4127
>>> tel
{'sape': 4139, 'guido': 4127, 'jack': 4098}
-----
I think the order of dictionary elements shown after 'guido' is inserted is wrong.
The correct order is:
{'jack': 4098, 'sape': 4139, 'guido': 4127} |
|
Date |
User |
Action |
Args |
2017-11-24 19:14:29 | tberla | set | recipients:
+ tberla, docs@python |
2017-11-24 19:14:29 | tberla | set | messageid: <1511550869.58.0.213398074469.issue32127@psf.upfronthosting.co.za> |
2017-11-24 19:14:29 | tberla | link | issue32127 messages |
2017-11-24 19:14:29 | tberla | create | |
|