It looks like a kwarg which is set to None, so perhaps it is using the None as the "optional" parameter and hence deletes nothing. That would follow python usage when defaults are provided to args or kwargs