# [Python 3, pxeger][1] With direct memory access, nothing is really immutable. Replaces the string in the constant table of the lambda function. <!-- language: lang-python --> import ctypes wow = f.__code__.co_consts[2].co_consts[1] hah = 'hah' ctypes.memmove(id(wow), id(hah), hah.__sizeof__()) [Attempt This Online!](https://ato.pxeger.com/run?1=TY5NCsIwEIX3OcXgxgS0VFdScOUxSgk1mdCC-SEdtfUqbrrRrefxNg5042bmzc_7eM93mqiLYZ5fV3Lbw_dk0YGTqhJAeapwRCNjwiBLVWRsrVRKAI4GE1WlgIx0zQEurT_btqpX93hfNQvqk3IfSDJLqrps1LKdv2PvU8wEhqaEgxBsgSO4QmsTLWpdmMgqDDTU--Zv2DWiazt-XXNbi8VeePQ-3lD2VjJIbYAF31lwZebQPzA6rTn3EuAH) [1]: https://codegolf.stackexchange.com/a/231507/64121