Skip to content

Commit

Permalink
Merge pull request #8148 from jjhelmus/npy_load_fix
Browse files Browse the repository at this point in the history
BUG: import full module path in npy_load_module
  • Loading branch information
charris committed Oct 13, 2016
2 parents b0a6e55 + 5d0ce36 commit e5d7653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/compat/py3k.py
Expand Up @@ -118,7 +118,7 @@ def npy_load_module(name, fn, info=None):
mod : module
"""
import importlib
import importlib.machinery
return importlib.machinery.SourceFileLoader(name, fn).load_module()
else:
def npy_load_module(name, fn, info=None):
Expand Down

0 comments on commit e5d7653

Please sign in to comment.