1
felinx 2017 年 5 月 27 日
可以试试 inspect
``` import inspect def a(): print "a" b() def b(): frame = inspect.currentframe() print frame.f_back.f_code a() ``` |
2
troywinter 2017 年 5 月 28 日
難道不是直接 debug 嗎?
|