forked from VimPlug/jedi
python keyword completion, fixes #21
This commit is contained in:
@@ -41,6 +41,11 @@ class Keyword(object):
|
||||
def get_parent_until(self):
|
||||
return builtin.builtin_scope
|
||||
|
||||
@property
|
||||
def names(self):
|
||||
""" For a `parsing.Name` like comparision """
|
||||
return [self.name]
|
||||
|
||||
@property
|
||||
def docstr(self):
|
||||
return imitate_pydoc(self.name)
|
||||
|
||||
Reference in New Issue
Block a user