Load stub modules if it's a stub
This commit is contained in:
1 parent
58998748e3
commit
a5f7412296
5 files changed
+25
-7
No files matched your search
@@ -207,7 +207,7 @@ def _get_buildout_script_paths(search_path):
|
||||
|
||||
|
||||
def remove_python_path_suffix(path):
|
||||
for suffix in all_suffixes():
|
||||
for suffix in all_suffixes() + ['.pyi']:
|
||||
if path.endswith(suffix):
|
||||
path = path[:-len(suffix)]
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user