我正在编写一个脚本,并且不小心删除了一个函数的代码(因此无法撤消),但该函数保存在内存中。
print(diff) #output <function diff at 0x7f48f238a670>
有没有办法打印这个函数的代码?
python function
function ×1
python ×1