I am working on a script and have accidentally deleted the code of a function a while back (so cant Undo) but the function is saved in the memory.
print(diff)
#output
<function diff at 0x7f48f238a670>
Is there a way to print this function's code?