Function
mhlib.updateline

Signature

updateline(file, key, value, casefold=1)