1
0
forked from VimPlug/jedi

tests for import completions and a following follow_definition call

This commit is contained in:
Dave Halter
2014-03-17 11:58:29 +01:00
parent 253e1c5717
commit 9f12352ec1
2 changed files with 19 additions and 1 deletions

View File

@@ -527,6 +527,7 @@ class Definition(BaseDefinition):
position = '' if self.in_builtin_module else '@%s' % (self.line)
return "%s:%s%s" % (self.module_name, self.description, position)
@cache.underscore_memoization
def defined_names(self):
"""
List sub-definitions (e.g., methods in class).