获取父函数
发布于 2021-01-29 16:00:00
有没有办法找到称为当前功能的功能?因此,例如:
def first():
second()
def second():
# print out here what function called this one
有任何想法吗?
关注者
0
被浏览
50
1 个回答