eta.util.general.dict_rem

dict_rem(dct, k)[source]

Safe version of dict pop that removes a key from the dict.