Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf06571 commit d34580cCopy full SHA for d34580c
1 file changed
Lib/xml/sax/__init__.py
@@ -96,7 +96,7 @@ def _rec_find_module(module):
96
else:
97
info = (mod,) + _imp.find_module(mod, [path])
98
99
- lastmod = apply(imp.load_module, info)
+ lastmod = _imp.load_module(*info)
100
101
try:
102
path = lastmod.__path__[0]
@@ -107,7 +107,7 @@ def _rec_find_module(module):
107
108
def _create_parser(parser_name):
109
info = _rec_find_module(parser_name)
110
- drv_module = apply(imp.load_module, info)
+ drv_module = _imp.load_module(*info)
111
return drv_module.create_parser()
112
113
del sys
0 commit comments