Python 3, pxeger
With direct memory access, nothing is really immutable. Replaces the string in the constant table of the lambda function.
import ctypes
wow = f.__code__.co_consts[2].co_consts[1]
hah = 'hah'
ctypes.memmove(id(wow), id(hah), hah.__sizeof__())