diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:12:19 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:12:19 (GMT) |
| commit | 7c038b472675cf6e9ade17cf0ab9f3c8b5250f90 (patch) | |
| tree | 8982107ce1ec0e5369a851ea936a8a7618379edd /Lib/modulefinder.py | |
| parent | 75813105a2cb35ce4486038dd9bb7ae07e2a2c72 (diff) | |
| parent | 867754e3e3c907f87d1bb0282df628deb392cd62 (diff) | |
| download | cpython-7c038b472675cf6e9ade17cf0ab9f3c8b5250f90.zip cpython-7c038b472675cf6e9ade17cf0ab9f3c8b5250f90.tar.gz cpython-7c038b472675cf6e9ade17cf0ab9f3c8b5250f90.tar.bz2 | |
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 646a785..f033ba9 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): |
