[Python-Dev] The current dict is not an "OrderedDict"
Antoine Pitrou
solipsis at pitrou.net
Tue Nov 7 14:28:03 EST 2017
On Wed, 8 Nov 2017 06:19:46 +1100
Chris Angelico <rosuav at gmail.com> wrote:
>
> I've used a good few dictionary objects in my time, but most of them
> have literally never had any items deleted from them.
Well... It really depends what kind of problem you're solving. I
certainly delete or pop items from dicts quite often.
Let's not claim that deleting items from a dict is a rare or advanced
feature. It is not.
Regards
Antoine.
More information about the Python-Dev
mailing list