summaryrefslogtreecommitdiffstats
path: root/Lib/imputil.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/imputil.py')
-rw-r--r--Lib/imputil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/imputil.py b/Lib/imputil.py
index a907287..600cfa5 100644
--- a/Lib/imputil.py
+++ b/Lib/imputil.py
@@ -281,7 +281,8 @@ class Importer:
setattr(parent, modname, module)
return module
- def _process_result(self, (ispkg, code, values), fqname):
+ def _process_result(self, result, fqname):
+ ispkg, code, values = result
# did get_code() return an actual module? (rather than a code object)
is_module = isinstance(code, _ModuleType)