提问人:Mashhood Ahmad 提问时间:10/17/2020 最后编辑:martineauMashhood Ahmad 更新时间:10/17/2020 访问量:262
如何查看/打印保存在变量中但已删除代码的函数?
How to see/print a function saved in a variable but with deleted code?
问:
我正在编写一个脚本,不久前不小心删除了一个函数的代码(所以无法撤消),但该函数保存在内存中。
print(diff)
#output
<function diff at 0x7f48f238a670>
有没有办法打印这个函数的代码?
答: 暂无答案
评论