How can i print the names of variables alive inside a function via decorator? - Python 3

前端 未结 0 1067
被撕碎了的回忆
被撕碎了的回忆 2021-02-09 05:34

So, i\'ve this code:

def checkScope(f):
    def inner(*args):
        res=f(*args)
        // I WANNA PRINT HERE BIM BUM AND BAM
        return res
    return inn         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题