1 import inspect
2 
3 def get_current_function_name():
4     return inspect.stack()[1][3]

相关文章:

  • 2021-12-03
  • 2021-11-23
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
猜你喜欢
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2021-04-06
相关资源
相似解决方案