forked from VimPlug/jedi
rename name_with_signs to name_with_symbols
This commit is contained in:
@@ -364,14 +364,14 @@ class Completion(BaseDefinition):
|
||||
return unicode(self._name.names[-1])
|
||||
|
||||
@property
|
||||
def name_with_signs(self):
|
||||
def name_with_symbols(self):
|
||||
"""
|
||||
Similar to :meth:`Completion.name`, but like :meth:`Completion.name`
|
||||
returns also the signs, for example::
|
||||
returns also the symbols, for example::
|
||||
|
||||
list()
|
||||
|
||||
would return ``.append`` and others.
|
||||
would return ``.append`` and others (which means it adds a dot).
|
||||
"""
|
||||
return self._complete(False)
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ def setup_readline(namespace=__main__.__dict__):
|
||||
self.matches.append(path + dot + name)
|
||||
else:
|
||||
completions = interpreter.completions()
|
||||
self.matches = [path + dot + c.name_with_signs
|
||||
self.matches = [path + dot + c.name_with_symbols
|
||||
for c in completions]
|
||||
try:
|
||||
return self.matches[state]
|
||||
|
||||
Reference in New Issue
Block a user