1
0
forked from VimPlug/jedi

Make it clear in search tests if a stub or a normal definition is expected

This commit is contained in:
Dave Halter
2020-03-07 20:43:57 +01:00
parent 6bddca011c
commit 58998748e3
2 changed files with 11 additions and 6 deletions

View File

@@ -38,6 +38,10 @@ class _ModuleAttributeName(AbstractNameDefinition):
return compiled.get_string_value_set(self.parent_context.inference_state)
def iter_module_names(*args, **kwargs):
return sorted(set(iter_module_names(*args, **kwargs)))
def iter_module_names(inference_state, paths):
# Python modules/packages
for path in paths: