Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017年11月07日 17:05:38 -0800

> By the way, I only just realized I can delete a key to demonstrate
> non-order-preservation on py 3.6. So at least I know what to tell students
> now.
>
You can't. dict in Python 3.6 preserves insertion order even after
key deletion.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to