Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ed890 commit a87e31cCopy full SHA for a87e31c
1 file changed
Doc/library/importlib.rst
@@ -975,9 +975,9 @@ an :term:`importer`.
975
reloading.
976
977
If an exception is raised by the decorated method and a module was added to
978
- :data:`sys.modules` it will be removed to prevent a partially initialized
979
- module from being in left in :data:`sys.modules`. If the module was already
980
- in :data:`sys.modules` then it is left alone.
+ :data:`sys.modules`, then the module will be removed to prevent a partially
+ initialized module from being in left in :data:`sys.modules`. If the module
+ was already in :data:`sys.modules` then it is left alone.
981
982
.. versionchanged:: 3.3
983
:attr:`__loader__` and :attr:`__package__` are automatically set
0 commit comments