diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2016-09-07 07:52:20 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2016-09-07 07:52:20 (GMT) |
commit | 32d374215a514915eca892e5c58a61e9494f37af (patch) | |
tree | a5eb60bfa6e5a1f28bedd4042460a22fce720fca /Lib/runpy.py | |
parent | e848cd7605a7891378ef1463e933939aa253df71 (diff) | |
download | cpython-32d374215a514915eca892e5c58a61e9494f37af.zip cpython-32d374215a514915eca892e5c58a61e9494f37af.tar.gz cpython-32d374215a514915eca892e5c58a61e9494f37af.tar.bz2 |
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
Diffstat (limited to 'Lib/runpy.py')
-rw-r--r-- | Lib/runpy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/runpy.py b/Lib/runpy.py index e290c21..d86f0e4 100644 --- a/Lib/runpy.py +++ b/Lib/runpy.py @@ -98,7 +98,7 @@ def _run_module_code(code, init_globals=None, # may be cleared when the temporary module goes away return mod_globals.copy() -# Helper to get the loader, code and filename for a module +# Helper to get the full name, spec and code for a module def _get_module_details(mod_name, error=ImportError): if mod_name.startswith("."): raise error("Relative module names not supported") @@ -262,7 +262,7 @@ def run_path(path_name, init_globals=None, run_name=None): return _run_module_code(code, init_globals, run_name, pkg_name=pkg_name, script_name=fname) else: - # Importer is defined for path, so add it to + # Finder is defined for path, so add it to # the start of sys.path sys.path.insert(0, path_name) try: |