[Python-ideas] Operator for inserting an element into a list

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jun 17 19:28:29 EDT 2018


Chris Angelico wrote:

> kwargs.pop("some_key") could plausibly be spelled del
> kwargs["some_key"] if del were (like yield) upgraded to expression.

Except that "delete" is a really misleading name for such
an operation!

-- 
Greg


More information about the Python-ideas mailing list