is this the same as:

`for index in exclude: del input_headers index`

?