|
|
|
|
|
by oalae5niMiel7qu
991 days ago
|
|
Reload only reloads one copy of the module. If there are other modules that imported the same module, your new definition will not be seen by them unless you find all the copies of foo in memory and reload them also. Since there's no reliable way to do that, you're more likely to just restart Python all the time. |
|