From e49af5f524d92c4dc8603eaa43432a0671ed950c Mon Sep 17 00:00:00 2001 From: Ethan Smith Date: Thu, 12 Apr 2018 20:54:43 -0700 Subject: [PATCH] Fix unhashable list lib_path --- mypy/stubgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/stubgen.py b/mypy/stubgen.py index b95efefeb119..da6fad8336e2 100755 --- a/mypy/stubgen.py +++ b/mypy/stubgen.py @@ -160,7 +160,7 @@ def find_module_path_and_all(module: str, pyversion: Tuple[int, int], module_all = getattr(mod, '__all__', None) else: # Find module by going through search path. - module_path = mypy.build.FindModuleCache().find_module(module, ['.'] + search_path, + module_path = mypy.build.FindModuleCache().find_module(module, ('.',) + tuple(search_path), interpreter) if not module_path: raise SystemExit(