1
0
forked from VimPlug/jedi

Remove get_signatures again from names

This commit is contained in:
Dave Halter
2020-01-03 00:54:13 +01:00
parent 3b6bbab556
commit 92a2e17a9e
2 changed files with 1 additions and 27 deletions

View File

@@ -446,7 +446,7 @@ class BaseDefinition(object):
def get_signatures(self):
return [
BaseSignature(self._inference_state, s)
for s in self._name.infer().get_signatures()
for s in self._get_signatures()
]
def execute(self):
@@ -756,10 +756,3 @@ class ParamDefinition(Definition):
'Python 2 is end-of-life, the new feature is not available for it'
)
return self._name.get_kind()
def _format_signatures(value):
return '\n'.join(
signature.to_string()
for signature in value.get_signatures()
)