1
0
forked from VimPlug/jedi

Fix the last remaining issues of the first part of the NamePart switch.

This commit is contained in:
Dave Halter
2014-09-09 15:58:20 +02:00
parent 45e033c50e
commit b68a59daef
5 changed files with 9 additions and 2 deletions

View File

@@ -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: