2011-06-09 69 views

回答

2

如果我理解正确的话 - Inspect是什么你正在寻找。

import inspect 
def test(): 
    print inspect.stack()[0][3] 
相关问题