How to access the original module scope when `sys.modules` contains a different object?

前端 未结 0 952
借酒劲吻你
借酒劲吻你 2020-12-15 21:02

How could I import my_module and modify the value of _value without modifying my_module.py? Is the original symbol table of my_m

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