mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-05 21:37:42 +08:00
Use ContextSet closer to they way how Python's set works
This commit is contained in:
@@ -164,7 +164,7 @@ class TypeshedPlugin(BasePlugin):
|
||||
code_lines=[],
|
||||
)
|
||||
modules = _merge_modules(context_set, stub_module_context)
|
||||
return ContextSet.from_iterable(modules)
|
||||
return ContextSet(modules)
|
||||
# If no stub is found, just return the default.
|
||||
return context_set
|
||||
return wrapper
|
||||
|
||||
Reference in New Issue
Block a user