diff options
| author | Raymond Hettinger <python@rcn.com> | 2014-08-10 10:41:52 -0700 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2014-08-10 10:41:52 -0700 |
| commit | d4cc49f5f367f488379150588d07c7f77dc917e5 (patch) | |
| tree | 97b4a85c63fe35d488668f2f3d9652231431a572 /Lib/pkgutil.py | |
| parent | 9aebd07ac628842838a281dad04c891c410b0396 (diff) | |
| parent | 7f8878040c398fac32114fb7072cfabf7f7f3fa6 (diff) | |
| download | cpython-d4cc49f5f367f488379150588d07c7f77dc917e5.tar.gz | |
merge
Diffstat (limited to 'Lib/pkgutil.py')
| -rw-r--r-- | Lib/pkgutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py index a54e9474d5..fc4a074f5b 100644 --- a/Lib/pkgutil.py +++ b/Lib/pkgutil.py @@ -616,7 +616,7 @@ def get_data(package, resource): return None # XXX needs test mod = (sys.modules.get(package) or - importlib._bootstrap._SpecMethods(spec).load()) + importlib._bootstrap._load(spec)) if mod is None or not hasattr(mod, '__file__'): return None |
