diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:10:38 +0200 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:10:38 +0200 |
commit | e642bef9e591dff62e9198d5f3a4c6164de14989 (patch) | |
tree | eb7ed7cd383bebec83b19fe0b5a227173c9382f5 /Lib/modulefinder.py | |
parent | 430fa24585b781acce2da7555b181ca67ea3c099 (diff) | |
parent | ce962380a970deda75f57e810b131676f4c59613 (diff) | |
download | cpython-e642bef9e591dff62e9198d5f3a4c6164de14989.tar.gz |
merge 11164
Diffstat (limited to 'Lib/modulefinder.py')
-rw-r--r-- | Lib/modulefinder.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/modulefinder.py b/Lib/modulefinder.py index 646a7852ba..f033ba98ef 100644 --- a/Lib/modulefinder.py +++ b/Lib/modulefinder.py @@ -35,9 +35,10 @@ def AddPackagePath(packagename, path): replacePackageMap = {} -# This ReplacePackage mechanism allows modulefinder to work around the -# way the _xmlplus package injects itself under the name "xml" into -# sys.modules at runtime by calling ReplacePackage("_xmlplus", "xml") +# This ReplacePackage mechanism allows modulefinder to work around +# situations in which a package injects itself under the name +# of another package into sys.modules at runtime by calling +# ReplacePackage("real_package_name", "faked_package_name") # before running ModuleFinder. def ReplacePackage(oldname, newname): |