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 65d5b57 commit 6058eb4Copy full SHA for 6058eb4
1 file changed
Python/import.c
@@ -1827,7 +1827,10 @@ PyImport_ReloadModule(m)
1827
more accurately -- it invokes the __import__() function from the
1828
builtins of the current globals. This means that the import is
1829
done using whatever import hooks are installed in the current
1830
- environment, e.g. by "ni" or "rexec". */
+ environment, e.g. by "rexec".
1831
+ A dummy list ["__doc__"] is passed as the 4th argument so that
1832
+ e.g. PyImport_Import(PyString_FromString("win32com.client.gencache"))
1833
+ will return <module "gencache"> instead of <module "win32com">. */
1834
1835
PyObject *
1836
PyImport_Import(module_name)
0 commit comments