forked from VimPlug/jedi
Fix the last remaining issues of the first part of the NamePart switch.
This commit is contained in:
@@ -507,6 +507,7 @@ class Completion(BaseDefinition):
|
||||
the ``foo.docstring(fast=False)`` on every object, because it
|
||||
parses all libraries starting with ``a``.
|
||||
"""
|
||||
definition = self._definition
|
||||
if isinstance(definition, pr.Import):
|
||||
i = imports.ImportWrapper(self._evaluator, definition)
|
||||
if len(i.import_path) > 1 or not fast:
|
||||
|
||||
Reference in New Issue
Block a user