Message321708
https://docs.python.org/3/library/stdtypes.html#dict.popitem
`dict.popitem` no longer returns an "arbitrary" (key, value) pair as the documentation suggests. Rather, it always returns the pair whose key was most recently *inserted* (ie., the last entry in `dk_entries`).
Perhaps the docs could reflect that this method is now always LIFO rather arbitrary now that insertion order is guaranteed? |
|
Date |
User |
Action |
Args |
2018-07-16 06:00:27 | bup | set | recipients:
+ bup, docs@python |
2018-07-16 06:00:27 | bup | set | messageid: <1531720827.11.0.56676864532.issue34123@psf.upfronthosting.co.za> |
2018-07-16 06:00:27 | bup | link | issue34123 messages |
2018-07-16 06:00:26 | bup | create | |
|