[issue41770] Import module doesn't updated
pmp-p
report at bugs.python.org
Fri Sep 11 23:06:23 EDT 2020
pmp-p <pmpp.pub at gmail.com> added the comment:
Hi, you just need to call del sys.modules['xxx'] and have a look at https://docs.python.org/3.7/library/importlib.html#importlib.invalidate_caches
before importing again
----------
nosy: +pmpp
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41770>
_______________________________________
More information about the Python-bugs-list
mailing list