Why are object attributes used in a function said to be unbound variables?

后端 未结 0 1442
南旧
南旧 2020-12-12 13:12

I\'m using the inspect module to learn more about function namespaces:

import inspect

def foo():
    inspect.__cache__.update({\'dummy\': 0}) #          


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