Use operator.delitem for deletion
Use operator.delitem for deletion

This does everything it’s supposed to do with clearer code.

(Though this still doesn’t help with the del a[i:j] monstrosity, even if
i and j are syntactically known to be nonnegative integers, because
operator.delitem and operator.delslice aren’t smart enough to call
__delslice__ or __delitem__, respectively.  If you don’t like it, write
del a[i:j:] instead.)

Signed-off-by: Anders Kaseorg <087231934ba8fcf78bc142ce37d193b895ac03c4@mit.edu>

csvoss/onelinerizer