diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:12:19 +0200 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:12:19 +0200 |
commit | 7c038b472675cf6e9ade17cf0ab9f3c8b5250f90 (patch) | |
tree | 8982107ce1ec0e5369a851ea936a8a7618379edd /Lib/modulefinder.py | |
parent | 75813105a2cb35ce4486038dd9bb7ae07e2a2c72 (diff) | |
parent | 867754e3e3c907f87d1bb0282df628deb392cd62 (diff) | |
download | cpython-git-7c038b472675cf6e9ade17cf0ab9f3c8b5250f90.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): |